This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Constructors
 
Similar Threads
Constructors are not inhertied - True
Can constructor throw exception?
Why I can't call the parent class constructor?
another question on constructors
OOP 4: Lookup