What are methods? How aee these related to an object?
Answers
Answered by
0
Answer:
A method defines the behavior of the objects that are created from the class. Another way to say this is that a method is an action that an object is able to perform. The association between method and class is called binding. Consider the example of an object of the type 'person,' created using the person class.
HOPE IT HELPS YOU
PLZZ MARK IT AS BRAINLIEST
Answered by
1
A method is an operation associated to an object. The 'behaviour' of an object is represented through associated functions, which are called methods.
Similar questions