What is C++ Programming, Object Oriented Programming Language Explains
Get Our Latest Interview Questions: Aptitude, Reasoning, English, GD, HR-PI
C++ Programming:
C++ is also a programming language used to make program, but it is different from c language in some points, most of the things are similar as c programming.
About C++ Programming Language:
C++ developed by Bjarne Stroustrup in 1979 at Bell Lab. we can also say C++ is upgraded version of c, here most of the features are taken from c language. In c programming we are using structured programming language, but in c++ object oriented programming we are using. It means after c new version come with the concept of "C With Class".
Now The Questions Aries What is Object Oriented Programming Language (OOP):
OOPS allow us to divide our problems into a numbers of entities called Object, where we build data & function around these objects.
Examples Of Object Oriented Programming Language:
If we are having some problem, if we solve hole problem in once then, it is difficult for us. So for avoiding this we divide our problems into small parts. So in C++ these divided parts are called Objects.
Now to solve those problems we need to know 2 important things:
1. What kind of problem we are having. So in C++ this is called function.
2. To solve that problem, what are the things we require. So in C++ this is called data.
with the help of this two things we can solve any problems. or In C++ words we can say, with the help of data and function we can make any object and execute our program in C++.
Features Of Objects Oriented Programming Language (OOP):
1. It emphasis on data rather then algorithm.
2. Here programs are divided into objects.
3. Functions that operate on data of an object are tied together.
4. Data is hidden & cannot be accessed by external function.
5. It follows bottom up approach for program design.