✏️ Explanatory Question

Can a top level class be private or protected?

👁 764 Views
📘 Detailed Answer
No previous question
No next question
💡

Answer with Explanation

No, a top level class can not be private or protected. It can have either "public" or no modifier.
No previous question
No next question