![]() |
JAVA EXAMPLE PROGRAMS |
Publish Your Article Here
|
|
|
Java2Novice - YouTube Channel
Knowledge Centre
Java class can be private?
We can not declare top level class as private. Java allows
only public and default modifier for top level classes in java.
Inner classes can be private.
Famous Quotations
The very best thing you can do for the whole world is to make the most of yourself.
-- Wallace Wattles
|
Reference: Java™ Platform Standard Ed. 7 - API Specification | Java™ Platform Standard Ed. 8 - API Specification | Java is registered trademark of Oracle. |
Privacy Policy | Copyright © 2022 by Nataraja Gootooru. All Rights Reserved. |