Question: QUESTION 13 What is the difference between an object and a class? An object is an extension of the class construct whose default access privilege
QUESTION 13 What is the difference between an object and a class? An object is an extension of the class construct whose default access privilege is public The term object is just another way of referring to the public data members of a class An object is an initialized class variable None of these QUESTION 14 What is the role of a constructor in classes? To modify the data whenever required To destroy an object To initialize the data members of an object when it is created To call private functions from the outer world QUESTION 15 What is the role of destructors in Classes? To modify the data whenever required To destroy an object when the lifetime of an object ends To initialize the data members of an object when it is created To call private functions from the outer world QUESTION 16 A What is the syntax of inheritance of class? class name class name access specifier class name access specifier class name None of the mentioned
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
