Back to the 2022 paper

Module 3: Software Design & Metrics

20222m

Classes communicate with one another via

(i) processed information
(ii) interfaces
(iii) messages
(iv) coupling

Worked SolutionAI Assisted

Solution

Correct Answer: (iii) messages

Explanation

In Object-Oriented Design, classes/objects communicate via message passing. A message is a request for an object to execute one of its methods (e.g., obj.method() in Java).

  • Interfaces define what messages can be sent, but the mechanism is messages
  • Coupling is a metric, not communication means
  • Processed information is vague

Answer: (iii) messages

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.