This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Jan 06, 2005
Jan 06, 2005 21:59:00
Constructors can have any access modifiers ( public,protected,default and private ). Can anybody correct me if I'm wrong ?
Also, Top-Level class can be public,default,final and abstract. Please correct me if I'm wrong ?
Joined: Oct 11, 2004
Jan 06, 2005 22:05:00
You are correct puja ...
one more addition - top-level class may also have strictfp .
Joined: Aug 31, 2004
Jan 06, 2005 22:13:00
Also note that "abstract" cannot be used in conjunction with "final" or "strictfp."
(And, of course, "default" is not technically a modifier.)
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014