+ 4
What is methods?
3 Answers
0
method (...){...............}
0
As classes represent objects, methods are often compared to actions (or behaviour) of objects. They are always belong to an object and they always used for action. You can also think of it as: class or object can just "be", but method of that object most often "do".