How to write multiple Java class files in Low Level Design problems in a single file in an interview?
Usually in interviews where you have to compile and run a code, you do so in a single file. But in cases of solving Low Level Design problems (especially in Java) you can’t have all the classes and interface in a single file because Java doesn’t allow it.