This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Mock Exam Errata and the fly likes private class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "private class?" Watch "private class?" New topic
Author

private class?

jordan gong
Ranch Hand

Joined: Jun 12, 2001
Posts: 37
Is there private class or protected class? Sorry about the stupid question. I only saw public and defult classes.
thanks.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
You can only have public or default classes.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Asma Zafar
Ranch Hand

Joined: May 11, 2001
Posts: 49
top level classes can't be private to protected.


Asma Zafar,<BR>Sun Certified Programmer for Java2 Platform
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: private class?