aspose file tools*
The moose likes Mock Exam Errata and the fly likes Constructors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Constructors" Watch "Constructors" New topic
Author

Constructors

Archana Nair
Greenhorn

Joined: Jul 24, 2001
Posts: 13
Hi
I would like to know which are the access modifiers that can be used for constructors and why!
Archana
leena rane
Ranch Hand

Joined: Aug 13, 2001
Posts: 280
Hi Archana ,
constructors can hav the following modifiers:
public
private
protected
default(no modifier)
and why!
to control which classes instantiate their classes.

Archana Nair
Greenhorn

Joined: Jul 24, 2001
Posts: 13
Hi Leena
THanks for the help.
Archana
 
Don't get me started about those stupid light bulbs.
 
subject: Constructors