Contents

A type of class that contain any pure virtual function is called……
a) abstract class 
b) virtual class
c) member class  
d) none of these

a

A class that is inherited by child classes using virtual keyword is called…..
a) abstract class  
b) virtual base class
c) member class  
d) none of these

b

Which among the following is the language which supports classes but not polymorphism?
a) Smalltalk                         
b) Java
c) C++                                   
d) Ada

d

If same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called?
a) inheritance                      
b) overloading
c) polymorphism               
d) overriding

c

Which type of function among the following shows polymorphisms?
a) ‘inline function               
b) virtual function
c) undefined function
d) class member function

b

Which among the following can’t be used for polymorphism?
a) static member function
b) function overloading
c) predefined operator overloading 
d) constructor overloading

a