Object Oriented Programming:
- Java is Object Oriented Programming language.
- Java features are
- Encapsulation
- Inheritance
- Abstraction
- Polymorphism
- Note that, these features neither belongs to java nor to any other programming language.
- OOP features are Global.
- Any programming language can implement these features.
Procedure oriented programming:
- C language is procedure oriented.
- In procedure oriented program, one program can access the information of another programming directly(no restrictions and no permissions).
- Objects based programming is secured.
- Object data is completely protected.
- We can access the information only with permissions.
How can we implement object oriented programming?
- C++, Java, .Net, Python … are Object oriented programming languages.
- We implement OOP features in all these language using 2 things
- Object
- Class.