Basic Concepts of OOP
OOP is a programming paradigm that uses "objects" and their interactions to design applications and computer programs. It has been developed with a view to overcome the drawbacks of conventional programming approaches. The object oriented programming helps to make program easier by dividing it into number of objects. In object oriented programming, data are not loosely attached. That is, the data can flow easily from one function to another. It allows the user to easily modify and reuse the code.While implementing an abstraction of a real world entity into software, all its physical characteristics are depicted through data items and its functionality through methods. Some important OOP concepts are data abstraction, data encapsulation, modularity, inheritance and polymorphism.
Abstraction represents only the essential features of an object; whereas, Eencapsulation involves wrapping up of data and functions into a single unit. Modularity is the property of a system that has been decomposed into a set of cohesive and loosely coupled modules. Inheritance is the capability of a class of things to derive capabilities or properties from another class.