• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

IBM's Mock Exam

 
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,
Following question is from IBM's mock exam and i don't thisn any of the answers is valid.
what do u think?
Q#
Which of the following declarations of a top-level class Frog are legal, assuming Animal is an existing class?
1. protected class Frog extends Animal {
2. private class Frog extends Animal {
3. transient class Frog extends Animal {
4. native class Frog extends Animal

regards
vivek
 
Ranch Hand
Posts: 477
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Vivek: I agree with you. There�s no valid answer.
 
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Vivek,
Yes. For 'Top-level' ALL options given are not valid. Is there any explanation/answer given from IBM site ?
For your information, in Sun's real SCJP exam there is no type of qstn like above. We HAVE TO ANSWER ALL qstns. If none of the given answers are correct, there may be another option like 'none of the given are correct' among the given answers. I also heared from some people very long back in Sun's SCJP exam there was a typo in the code, and we have to assume that typo is not there and answer. People who DID NOT select any answer were not given credit. I SHOULD NOT DISCUSS the actual qstn here. So I am just giving you an idea of how we should take the actual exam.
regds
maha anna
 
Vivek Shrivastava
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks to all of u for making me clear.

regards
vivek
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic