File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inheritance question

 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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 ]
 
Tina Tibrewal
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic