Skip to content

Object-Oriented Programming (OOP)

What is the function or purpose of Message passing?

Difficulty: Medium

About this MCQ

This Medium Object-Oriented Programming (OOP) MCQ checks one syllabus fact.

The question is: “What is the function or purpose of Message passing?”

The accepted answer is A. The process by which objects communicate with one another by invoking each other's methods.. The process by which objects communicate with one another by invoking each other's methods is the fact required by What is the function or purpose of Message passing option A Option B The practice of restricting direct access to an object's internal data to protect it from unintended interference does not match the stem it is a near-miss used to catch incomplete recall of The process by which objects communicate with one another by invoking each other's methods Option C A variable defined in a class for which each object of that class maintains its own separate copy does not match the stem it is a near-miss used to catch incomplete recall of The process by which objects communicate with.

Correct answer

A. The process by which objects communicate with one another by invoking each other's methods.

Explanation

The process by which objects communicate with one another by invoking each other's methods is the fact required by What is the function or purpose of Message passing option A Option B The practice of restricting direct access to an object's internal data to protect it from unintended interference does not match the stem it is a near-miss used to catch incomplete recall of The process by which objects communicate with one another by invoking each other's methods Option C A variable defined in a class for which each object of that class maintains its own separate copy does not match the stem it is a near-miss used to catch incomplete recall of The process by which objects communicate with.

Source: Object-Oriented Programming (OOP) Official Reference Guide

Tags: computer science, oop, object-oriented programming, software design

Submitted by: MCQsHub Editorial

Related MCQs

More Object-Oriented Programming (OOP) MCQs