R

Ram Sharma • 193.86K Points
Coach

Q. If there are three classes: Shape, Circle, and Square, what is the most likely relationship between them?

  • (A) Square is a superclass, and Shape and Circle are subclasses of Square.
  • (B) Shape is a superclass, and Circle and Square are subclasses of Shape.
  • (C) Shape, Circle, and Square are all sibling classes.
  • (D) These three classes cannot be related.
  • Correct Answer - Option(B)
  • Views: 167
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics