Question: Suppose the Polygon class has a method named area which is abstract. Which of the following statements must be true? I. Polygon must be made
Suppose the Polygon class has a method named area which is abstract. Which of the following statements must be true? I. Polygon must be made an abstract class. ll. The area method in Polygon must have no body. Ill. Polygon objects cannot be instantiated. IV. Any class derived from Polygon must override the area method if a programmer wants to instantiate objects of that class I only ll only Ill only IV only I and II only I and Ill only I and IV only II and Ill only ll and IV only Ill and IV only I, II, and Ill only I, II, and IV only I, III and IV only II, III, and IV only all of the statements are true none of the statements are true
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
