aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "classes" Watch "classes" New topic
Author

classes

nitin sharma
Ranch Hand

Joined: Feb 24, 2001
Posts: 290
can we have two toplevel classes,one with protected access specifier and the other with the public access specifier?.
public is very much possible, please tell me about the other class.
nachiket deshpande
Ranch Hand

Joined: Oct 06, 2000
Posts: 114
No a toplevel class can not be protected.
it can be public,final, abstract or no access modifier.but cant be protected.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classes