You are on page 1of 1

Objects:

Objects Classes Inheritance Data Abstraction Data Encapsulation Polymorphism Overloading Reusability

This is the basic unit of object oriented programming. That is both data and function that operate on data are bundled as a unit called as object. Classes: The concept of class is similar to the concept of structure in C. In other words classes are the data types on which objects are created. So while a class is created no memory is allocated only when an object is created memory gets allocated. Inheritance: As the name suggests Inheritance is the process of forming a new class from an existing class that is from the existing class called as base class new class is formed called as derived class. This is a very important concept of object oriented programming since this feature helps to reduce the code size. Data Abstraction: By this feature of object oriented programming it is possible to represent the needed information in program without presenting the details. Also by the feature of data abstraction it is possible to create user defined data types and thus increase the power of programming language. Data Encapsulation: Data Encapsulation is the process of combining data and functions into a single unit called class. By this method one cannot access the data directly. Data is accessible only through the functions present inside the class. Thus Data Encapsulation gave rise to the important concept of data hiding. Polymorphism: The ability to use an operator or function in different ways in other words giving different meaning or functions to the operators or functions is called polymorphism. Poly refers many. That is a single function or an operator functioning in many ways different upon the usage is called polymorphism. Overloading: The concept of overloading is also a branch of polymorphism. When the exiting operator or function is made to operate on new data type it is said to be overloaded. Reusability:

That is object oriented programming has the feature of allowing an existing class which is written and debugged to be used by other programmers and there by provides a great time saving and also code efficiency to the language. Also it is possible to a have the existing class and adds new features to the existing class as pet the programmers choice.
Thus the object oriented programming features helps the program ad there by users of the application to achieve increased performance it saves time of developing the application give optimized code for the application helps in gaining secured applications and there by helps in easier maintenance.

You might also like