What are the specific features of destructor?
a) cannot take argument
b) preceded by tilde symbol
c) has no return type
d) all of these
What is the correct format for destructor?
a) ~ A()
b) @ A()
c) # A()
d) % A ()
How many basic types of inheritance are provided as OOP feature?
a) 4
b) 3
c) 2
d) 1
Explanation: simple inheritance, multiple, multilevel, single level inheritance
The class that is used to create a new class is called….
a) base class
b) super class
c) parent class
d) all of these
The new class that inherits the properties and function of existing class is called….
a) child class
b) derive class
c) sub class
d) all of these
A class is derived from more than one parent classes is called…….
a) multiple inheritance
b) multi-level inheritance
c) simple inheritance
d) all of these