MCQ Single Best Answer Easy

QIn OOP, what is a "method"?

ID: #20078 Basic Concept of OOP 77 views
Question Info
#20078Q ID
EasyDifficulty
Basic Concept of OOPTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A An unrelated class
  • B A global variable
  • C A set of properties
  • D A function associated with an object
Correct Answer: Option D

Explanation

In OOP, a method is a function associated with an object, allowing objects to perform actions or exhibit behaviors.

Share This Question

Challenge a friend or share with your study group.