• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock exam question is-a relationship

 
Jagdev Singh
Ranch Hand
Posts: 71
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have following statement from answer of one question from K&B cd Master exam 1.
is-a relationship always rely on polymorphism.


According to exam it is correct.
But according to me polymorphism always rely on is-a relationship (inheriatnce).
Correct me if I am wrong.

Jagdev
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic