OOPs

Object oriented programming style is a Programming approach that is based on PIE that stands for Polymorphism,Inheritance and Encapsulation.

 

Object oriented programming style is of three types:

  • Object Based Style.
  • Object Oriented Style.
  • Truly Object Oriented Style.

 

1.Object Based Programming approach:

Follows any 2 out of PIE but not all 3.

e.g. JavaScript that supports Inheritance and Encapsulation but not Polymorphism.

 

2. Object Oriented Programming approach:

Each & everything is represented in the form of Objects ,except the Primitive Datatypes.

e.g. Java.

 

3.Object Oriented Programming approach:

Each & everything is represented in the form of Objects

e.g. SmallTalk.

 

 

Java's National Anthem

In Java each & everything is represented in the form of Objects ,except the Primitive Datatypes. And just because of these primitive data types, java is not a truly/purely object Oriented programming language.

Title Text

Subtitle

Made with Slides.com