A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Programmer Certification (SCJP/OCPJP)
Joined: Feb 24, 2001
Apr 30, 2001 03:21:00
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.
Joined: Oct 06, 2000
Apr 30, 2001 08:50:00
No a toplevel class can not be protected.
it can be public,final, abstract or no access modifier.but cant be protected.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
Protected Access Specifier
anyone could explain this?
protected Vs default access modifiers?
Enum member variable access
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015