File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "private class?" Watch "private class?" New topic

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.
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:
subject: private class?
It's not a secret anymore!