aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: private class?
 
Similar Threads
Object Accessibility
.....
Private instance variables accessed within the class
when private is not so private
Question 80 from Java rules round up