-
Object Oriented Programming System.
What is a class?
-
Class is a blue print which reflects the entities attributes and actions. Technically defining a class is designing an user defined data type.
An instance of the class is called as object.
-
List the types of inheritance supported in C++. Single, Multilevel, Multiple, Hierarchical and Hybrid.
-
The process of binding the data and the functions acting on the data together in an entity (class) called as encapsulation.
-
Abstraction refers to hiding the internal implementation and exhibiting only the necessary details.
-
Inheritance is the process of acquiring the properties of the exiting class into the new class. The existing class is called as base/parent class and the inherited class is called as derived/child class.
-
Declaring a variable volatile directs the compiler that the variable can be changed externally. Hence avoiding compiler optimization on the variable reference.