This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) 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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Constructors" Watch "Constructors" New topic
Author

Constructors

Puja S
Ranch Hand

Joined: Jan 06, 2005
Posts: 51
Hi,

There was this question :

Q23 Which of the following modifiers are allowed in constructor?
A1 private
A2 default
A3 public
A4 static

The answer was A1 and A3......Why not A2 also ?

Thanks.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
default is not a modifier . it is just a access specifier or access level .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Constructors