A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Feb 17, 2005
Feb 17, 2005 21:49:00
I am not able to get why we cann,t declare a class with
Joined: Sep 24, 2003
Feb 17, 2005 23:41:00
You can, as long as it is not a top-level class.
Neither of those modifiers make any sense on a top-level class.
Can you define how a private or protected top-level class should behave with respect to access?
Java Q&A (FAQ, Trivia)
I agree. Here's the link:
subject: Class modifiers
Doubt about diagram class
regard on k&b book
Doubt about diagram class (realization)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015