A. Variable
B. Object
C. Methods
D. Class
✅ The correct answer is option C.
In OOPS the member functions also called Methods. A method in object-oriented programming (OOP) is a procedure associated with a message and an object. In class-based programming, methods are defined in a class, and objects are instances of a given class.
In OOPS the member functions also called Methods. A method in object-oriented programming (OOP) is a procedure associated with a message and an object. In class-based programming, methods are defined in a class, and objects are instances of a given class.