PrepAway - Latest Free Exam Questions & Answers

What is a method in an object-oriented system?

What is a method in an object-oriented system?

PrepAway - Latest Free Exam Questions & Answers

A.
The code defining the actions that the object performs in response to a
message

B.
A guide to the programming of objects

C.
The means of communication among objects

D.
The situation where a class inherits the behavioral characteristics of more that one parent class

Explanation:
method in an object-oriented system is
the code that defines the actions that the object performs in response
to a message.
Answer “The means of communication among objects” is incorrect because it defines a message.
Answer “A guide to the programming of objects” is a distracter.
Answer “The situation where a class inherits the behavioral characteristics of more that one parent

class” refers to multiple inheritance.


Leave a Reply