Object-Oriented Programming With Java
Object-Oriented Programming With Java
JAVA
1.Introduction to Object-Oriented System
Development
Object orientation is an approach to complex systems in which the system is
described as the interaction of cooperating objects.
A program developed with object-oriented programming will consist almost
exclusively of objects.
An object contains Methods, attributes and properties.
Classes contain attributes. The attributes (also: property of classes) are static
elements of classes. Concrete values of the object can be saved in an attribute.
An object is a self-contained entity that is capable of action.
In an object, Attributes store values, while methods allow you to access, read,
modify, or update attributes or perform calculations.
Attributes are used exclusively for saving values and can be understood as free
memory inside of an object.
Good candidates for attributes are nouns that can be used for describing or adding
details to other nouns
The values of all the attributes of an object describe the state of the object.