posted 14 years ago
You can either put each class in in a separate file or, though this is not considered good programming practice, you can put them all in one file.
When you compile the class containing the main method all other classes the main class needs will also automatically be compiled.