Consider the following sentence: “A square is a polygon”. Which is relations between the two classes Square and Polygon
A. Inheritance
B. Aggregation
C. Composition
D. Association
Answer:A
Consider the following sentence: “A square is a polygon”. Which is relations between the two classes Square and Polygon
A. Inheritance B. Aggregation C. Composition D. Association