Home >Java >javaTutorial >How to put two public classes in one Java package
Yes. The only condition is to have a public class in a separate java file.
The above is the detailed content of How to put two public classes in one Java package. For more information, please follow other related articles on the PHP Chinese website!