File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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