next up previous
Next: Classes seen as modules Up: Unit 03 Previous: Overloading of methods

Abstraction on objects

Abstraction on objects is realized as follows:

The ability to support in a very advanced way the abstraction on objects is the fundamental feature of all object-oriented programming languages (such as Java, C++, C#, etc.). In these languages, such a form of abstraction is supported by the ability to define classes directly at the programming language level.

In Java, the definition of a class is characterized by:

Note: The instance variables and the methods represent the properties of the objects of a Java class.

Moreover, through suitable access modifiers, we can specify:


next up previous
Next: Classes seen as modules Up: Unit 03 Previous: Overloading of methods