yt

Header Ads

CHAPTER - 1 || OOP(Object Oriented Programming)|| In Java

  OOP(Object Oriented Programming) 

Introduction of OOP :- 

  • It is real-life programming system where real-life are implemented in system development.
  • While OOP is creating object that contain  both data and functions.
  • It is easily development for larger complex applications,  So this programming system begins from the object that means developments start the from the structure "Bottom to Top".
  • Object are independence and object performance communications  with via message passing so development and maintenance easily.
  • It is create all  data and function  are very secure programming system.
  • In OOP hide the properties the object from the external words with provides easily interface for access. 
  • Some advantage just like that " Better code re-usability when used object and inheritances".
  • Principle of data hiding helps build secure system, 
  • Multiple Objects can co-exist without any interface, 
  • Software Complexity can be easily managed. 

Features of OOP: 

  1. Class 
  2. Objects
  3. Data Abstractions and Encapsulation
  4. Inheritance
  5. Polymorephism
  6. Dynamic Binding 
  7. Message Passing 
  8. Abstract 
  9. GUI Graphics User Interface, etc.

Difference Between POP and OOP:

POP :- 
  1. Consists of writing a set of instruction for the computer to follow.
  2. The Main aim of on functions and not on the flow of data.
  3. Function can either use local or global data. 
  4. Data moves openly from function to functions.
OOP :- 
  1. Works on the concept of class and objects.
  2. A class is if a templates to create objects then can access any type of data in run time declared.
  3. Treats data as a critical elements.
  4. Decompose the problems in objects and builds data and functions around the objects.
  5. It is provides access specifiers. 
IMPORTANT POINTS BETWEEN POP AND OOP 

POP

OOP

It means Producers Oriented Programming.

It means Object Oriented Programming.

It is work on data function.

But it is work on function and Object data.

POP follow Top to down approach.

OOP follows Bottom to Up approach.

It is less secure.

It is highly secure.

It is deals with algorithm.

It is deals with data.

It’s take very less memory.

It is take more than memory.

There is no available any access specifiers.

There is available three or four access specifiers.  (Public, Protected, Private, and Default)

In POP can’t Perform Overloading Concepts.

POP can Perform Overloading Concepts.

POP can perform structure program.

OOP Can perform Object and Class.

In POP can’t  used data hiding perform.

But OOP can perform data hiding concepts use Encapsulation.

POP can’t solve big problem.

POP can’ solve big problem.

Program is divided into small parts called function.

Program is divided into small parts called Objects.  

Example of POP: PASCAL, C, FORT-RAN COBOL.

Example of OOP:- C++, Java,JavaScript, Python.


I Hope This Post Is helpful for you.  


No comments

Theme images by Dizzo. Powered by Blogger.