What is a method? Why are methods so important for the description of objects?
Answers
Answered by
3
A method in object-oriented programming(OOP) is a procedure associated with a message and an object
Why are Methods Important?
"Functions can only use parameters as an input, but methods can make calculations with object properties."
Why are Methods Important?
"Functions can only use parameters as an input, but methods can make calculations with object properties."
Similar questions