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.
πŸ’¬ Discuss
βœ… Correct Answer: (B) Shape is a superclass, and Circle and Square are subclasses of Shape.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
344097
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate