wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Inheritance question 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 "Inheritance question" Watch "Inheritance question" New topic
Author

Inheritance question

Chandra Bhatt
Ranch Hand

Joined: Feb 28, 2007
Posts: 1707


I see "f" as its answer! But the source of the question says "e".
What is called appropriate use of Inheritance?


Help will be appreciated!


SOURCE: Danchisholms mock

Thanks,
cmbhatt
[ April 25, 2007: Message edited by: Chandra Bhatt ]

cmbhatt
Tina Tibrewal
Ranch Hand

Joined: Apr 19, 2007
Posts: 40
May be its an inappropriate because a cat is not a dog
But not going by class names I too would have gone for none of the above.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Inheritance question