0

We have 2 Kinds of Relationship:

  1. Animal- Lion (Superclass-Subclass)
  2. Vehicle - Car (Interface- Class that implements it)

Why Animal is a superclass to Lion but Vehicle is a interface that Car implements?

Federico klez Culloca
  • 26,308
  • 17
  • 56
  • 95
Wild Labs
  • 31
  • 2

0 Answers0