- A Object
- B Function
- C Attribute
- D Argument
- Share this MCQ
Answer:
B
Share this MCQ
In object-oriented programming, a function that is defined inside a class is called a method.
The term "method" is often used interchangeably with "function,"
but in the context of object-oriented programming,
a method is a function that is associated with a class and operates on instances of that class.
Share this MCQ