Can a top level class be private or protected?

Can a top level class be private or protected?

No! A top level class can\'t be private or protected, it can only be either public or default. 

By:Jalees
Date:2016-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher