Question 55Asked in DSSSB PGT Computer Science (Technical), 11 Jul 2021

How the object interact with each other in object oriented programming?

  1. ABy ringing
  2. BBy text
  3. CBy sending message
  4. DBy transmitting signal
Show answerHide answer

Correct answer: (C) By sending message

Explanation

Objects communicate by message passing, that is, one object calls another object's methods.

From DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021

This is question 55 of DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.