next up previous
Next: Methods seen as modules Up: Unit 03 Previous: Abstraction

Abstraction on operations: methods

The abstraction on operations is supported by all current programming languages (Java, C#, C++, C, Pascal, Fortran, Lisp, etc.).

In Java, the abstraction on operations is realized through the notion of method. A method can be considered as a black box that takes parameters as input and returns results or performs some actions.


next up previous
Next: Methods seen as modules Up: Unit 03 Previous: Abstraction