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 Private modifier ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Private modifier ..." Watch "Private modifier ..." New topic
Author

Private modifier ...

Kareem Qureshi
Ranch Hand

Joined: Mar 14, 2002
Posts: 102
again from certification4careers
17)
The private modifier can be applied to ...
a.A variable
b.A method
c.A class
d.All of the above
i answered d but answer is a,b.
private modifier can be applied to inner class, am i right?
my question is can we expect such kind of questions in SCJP exam
Thanks in advance
Kareem
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
You can expect much better worded questions. That one sucks. It does not really specify which kind of class. And you are right a private modifier can be put in the declaration of inner classes.
Forget about certification4careers, there are better mocks out there than ones that only lower your confidence and make you loose your precious time.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Kareem Qureshi
Ranch Hand

Joined: Mar 14, 2002
Posts: 102
Thanks Valentin
I am scheduled to take the exam on monday and i want to miss any exams available on net so that i dont miss anything. also i have reserved ur mock till tonight.
Please advice so that i get max in actual exam
Kareem
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Just be yourself, get some sleep and down
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Private modifier ...