Basic Concepts of Object Oriented Programming using C++(ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग में सी ++ का उपयोग)-The prime purpose of C++ programming was to add object orientation to the C programming language, which is in itself one of the most powerful programming languages.
There are a few principal concepts that form the foundation of object-oriented programming −
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 the object.
One of the most useful aspects of object-oriented programming is code reusability. 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 the base class, the new class is formed called a derived class.
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 to many. That is a single function or an operator functioning in many ways different upon the usage is called polymorphism.
Encapsulation is placing the data and the functions that work on that data in the same place. While working with procedural languages, it is not always clear which functions work on which variables but object-oriented programming provides you the framework to place the data and the relevant functions together in the same object.
Data abstraction refers to, providing only essential information to the outside world and hiding their background details, i.e., to represent the needed information in program without presenting the details.
For example, a database system hides certain details of how data is stored and created and maintained. Similar way, C++ classes provide different methods to the outside world without giving internal detail about those methods and data.
To learn more about basics of C++ you can go through- https://www.tutorialspoint.com
To learn C++ programming language join C++ programming course conducted by ETL Labs Pvt. Ltd. which is one of the best computer education center at Gomti Nagar Lucknow. ETL Labs Pvt Ltd is set up under the guidance of IIM Ahmedabad Alumni. The institute is an authorized UPdesco (a govt of UP undertaking) education center, so all certification programs are verifiable at State Govt Office and website. If you want to know more about this center you can visit us at- http://etleducation.com/