Coding Conventions: When multiple classes are placed in the same Java file, why should only one of them, the class that contains the main method, be declared public?
Why do we need to create multiple classes and methods in Java?