This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 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

[ 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.
I agree. Here's the link:
subject: Inheritance question
Similar Threads
Dan's question - clarify!!!
Dan's Exam Q Doubt.
Inheritance- cat dog / pets
Mock exam question regarding inheritance plz explain this output