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
Hindi,
8 months ago
Computer Science,
8 months ago
Math,
8 months ago
Science,
1 year ago
Math,
1 year ago
Biology,
1 year ago
India Languages,
1 year ago