MCQ
………. Class creates has-a type relationship.
  • A
    Composition 
  • B
    Aggregation 
  • (A) and (B) both 
  • D
    inheritance

Answer

Correct option: C.
(A) and (B) both 
(C) (A) and (B) both

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free