Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

Can we have multiple public classes in a java source file?

Category: Java

We can’t have more than one public class in a single java source file. A single source file can have multiple classes that are not public.

Leave a Reply

Your email address will not be published. Required fields are marked *