This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
Have you checked out Aspose?
 
subject: Constructors
 
It's not a secret anymore!