Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 O 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 What is the syntax of inheritance of class? O class name O 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started