How the object interact with each other in object oriented programming?
Show answerHide answer
Correct answer: (C) By sending message
Explanation
Objects communicate by message passing, that is, one object calls another object's methods.
Correct answer: (C) By sending message
Explanation
Objects communicate by message passing, that is, one object calls another object's methods.
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.