MCQ
Which of the following shows “has-a” relationship?
  • Library → Reading room (an object of Room class)
  • B
    Class room 1 and Class room2
  • C
    a and b both
  • D
    None of these

Answer

Correct option: A.
Library → Reading room (an object of Room class)
Library → Reading room (an object of Room class)

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