• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Private modifier ...

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Kareem Qureshi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just be yourself, get some sleep and down
 
reply
    Bookmark Topic Watch Topic
  • New Topic