How OOPS concept is achieved in Java ?
How OOPS concept is achieved in Java
The following stages are the concept of oops achieved in Java,
- It can be defined as the separation of unnecessary details or explanation from system requirements so as to reduce the complexities of understanding requirements.
- It is a mechanism that puts the data and function together. It is the result of hiding implementation details of an object from its user.The object hides its data to de accessed by only those functions which are packed in the class of that object.
- It is the relationship between two classes of object such that one of the classes ,the child takes all the relevant features of other class the parent. Inheritance bring about reusability.
- Polymorphism means having many forms that in a single entity can takes more than one form. Polymorphism is implemented through operator overloading and function overloading.