Posts

Showing posts from March, 2021

Unit-1 viva

Image
 >Blueprint of the car is class, the car is an object, (color, number of doors) are like data members, and (accelerator and brake) are like a member function. >Features of OOPS are object, class, data abstraction and encapsulation, information hiding, inheritance, and polymorphism. >Wrapping up of member functions and data members inside the class is called encapsulation. >Abtraction means showing only important details and hiding rest. >Information hiding is like a programmer will be able to use the members of the class without knowing what it does. >when objects of one class acquire the properties of objects of another class it is called inheritance. It provides reusability and expandability. > C++ polymorphism  means that a call to a member function will cause a different function to be executed depending on the type of object that invokes the function. > ------------------------------------------------------------------------------------------------...