C++ aroused after C, it was completely based on the features of Object Oriented Approach.
Its features are:
1.Object Oriented: you are completely depended in the objects and these objects had their own memory allocation in the memory.
2.Cl***es: this was a new concept in comparison with the C language.It is useful in combining the related data in a single heading and you can have multiple cl***es in one cl***.It consists of the objects, datatypes and other factors needed in the programming.
3.Polymorphism: you can have single thing in many forms.Like + is used for addition purpose and it is also used for concatenation or joining of the strings.
4.Encapsulation: you can encapsulate your required data and this is possible by the access specifiers like public, private and protected.
These help in maintaining the security of the codes which other user can't access.
5.Inheritance: it was a very useful concept as the repeated codes were been written again and again by the programmer and was wastage of the time.
This concept helped lot in saving time.Basically it is used to access other cl***es which are present in the program.It helped in diversifying this concept and popularity of the c++ language.There are types of inheritance:
single
multiple
multilevel
hierarchical
These factors helped in making the C++ language to have more advantage over C language.
Its features are:
1.Object Oriented: you are completely depended in the objects and these objects had their own memory allocation in the memory.
2.Cl***es: this was a new concept in comparison with the C language.It is useful in combining the related data in a single heading and you can have multiple cl***es in one cl***.It consists of the objects, datatypes and other factors needed in the programming.
3.Polymorphism: you can have single thing in many forms.Like + is used for addition purpose and it is also used for concatenation or joining of the strings.
4.Encapsulation: you can encapsulate your required data and this is possible by the access specifiers like public, private and protected.
These help in maintaining the security of the codes which other user can't access.
5.Inheritance: it was a very useful concept as the repeated codes were been written again and again by the programmer and was wastage of the time.
This concept helped lot in saving time.Basically it is used to access other cl***es which are present in the program.It helped in diversifying this concept and popularity of the c++ language.There are types of inheritance:
single
multiple
multilevel
hierarchical
These factors helped in making the C++ language to have more advantage over C language.
Comment