Wednesday 21 December 2016

Object Oriented Programming

Object Oriented Programming (OOP) is a programming technique in which programs are written on the basis of objects. Object Oriented Programming is a powerful technique to develop software. It is used to analyze and design the applications in terms of objects. It deals with data and the procedures that processes the data as a single object. Object Oriented programming is easier to learn and  modify.

Features of Object Oriented Programming 

Following are the features of the object-oriented programming:

Objects: 

Object is an entity that consists of data and functions. OOP provides the facility of programming based on objects.

Classes: 

Classes are design of creating objects. OOP provides the facility to design classes for creating different object. All properties and functions of an object are specified in classes.

Reuasability: 

OOP provides the facility of reusing the data and code. Inheritance is a technique that allows a programmer to use the code of existing program to create a new program.

Polymorphism: 

Polymorphism is an ability of an object to behave in multiple ways.e.g Operator Overloading, Function Overloading.

Real-World Modeling: 

OOP is based on real-world modeling. As in real world, things have properties and working capabilities. Similarly, objects have data and functions. Data represents properties and functions represents working of objects.

Information Hiding: 

OOP allows the programmer to hide important data from the user. It is performed by  encapsulation.

Dynamic Binding: 

Refers to linking of function call with function definition is called binding and when it is  take place at run time called dynamic binding.

Message Passing: 

The process by which one object can interact with other object is called message passing.


No comments:

Post a Comment

If you have any doubt please let me know

Methods in JAVA Language

 In general, a way may be thanks to perform some task. Similarly, the tactic in Java may be a collection of instructions that performs a sel...