A template is a blueprint or formula for creating a generic class or a function. In other words, templates are codes written in a way that is independent of any particular type.
Detecting abnormal behavior of the software at the runtime and taking preventive measure is called exception handling.
Virtual function is used to select the member function belonging to class at runtime.
Data conversion in C++ includes conversions between basic types and user-defined types, and conversions between different user-defined types.
Operator Overloading is generalization of function overloading. It increases the readability of our code. Further, it is straightforward and natural way to extend C++.
An array is a group of like-typed variables that are referred to by a common name. Array of any type can be created and may have one or more dimensions. Arrays offer a convenient means of grouping related information.
If a data item in a class is declared as static, only one such item is created for the entire class, no matter how many objects there are.
C++ allows objects to initialize themselves when they are created. This automatic initialization is performed through the use of a constructor. This fulfills the requirement for initialization of object upon creation.
A class is a template for an object, and an object is an instance of a class. Once a class is defined, this new type can be used to create objects of that type. The class is at the core of C++.
Inline function is written like a normal function in the source file but compiles into inline code instead of into a function.