Monday, November 22, 2010

Java OOPs

First we will talk about OOPs. OOPs or Object oriented programming language is relate to real world like Car, Jeep, bus etc. It’s a Object. OOPs programming language or model organize around object and data, action, and logic. Object tends to concept and principle. OOPs have some state and behavior. As for example State of Dog is color, breed hungry. Behavior of Dog is barking, fetching. Mainly OOPs have three pillar (Polymorphism, Inheritance and Encapsulation) is called PIE.

In Object Oriented Programming Language everything is Object.

Java is Object Oriented Programming. They have :

1. Class

2. Object.

3. Method.

4. Inheritance.

5. Polymorphism.

6. Encapsulation.

7. Abstraction.

No comments:

Post a Comment