How to put two public classes in a Java package.


Yes. The only condition is to have one public class in separate java file.

Updated on: 30-Jul-2019

329 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements