McqMate
| 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. |
| Answer» B. Shape is a superclass, and Circle and Square are subclasses of Shape. | |
View all MCQs in
Java ProgrammingNo comments yet