Computer Science, asked by sejalpatil22, 1 year ago

What are methods? How are these related to Objects?

Answers

Answered by ranjanalok961
14
A method in object-oriented programming is a procedure associated with a class. A methoddefines the behavior of the objectsthat are created from the class. Another way to say this is that amethod is an action that an object is able to perform. The association between method and class is called binding.
Answered by Anonymous
9

\huge{\underline{\boxed{\sf{\red{\mathfrak{Answer-}}}}}}

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