Home  >  Article  >  Java  >  How to put two public classes in one Java package

How to put two public classes in one Java package

王林
王林forward
2023-09-18 17:05:02719browse

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!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete

Related articles

See more