This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inheritance question" Watch "Inheritance question" New topic

Inheritance question

Chandra Bhatt
Ranch Hand

Joined: Feb 28, 2007
Posts: 1710

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

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

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
jQuery in Action, 3rd edition