Methods, Operations and Polymorphism
Method
- A procedural abstraction used to implement the behaviour of a class.
- Several different classes can have methods with the same name
- They implement the same abstract operation in ways suitable to each class
- E.g, calculating area in a rectangle is done differently from in a circle