Contents

Which of the following function is used to implement polymorphism in OOP?
a) normal function
b) virtual function
c) pure virtual function
d) all of these

b

Which of the following concepts are achieved by one of the following?
a) function overloading            
b) operator overloading
c) virtual function        
d) all of these

d

Which of the following operator is used in addition of floating-point number and two strings?
a) + operator              
b) – operator
c) * operator                
d) % operator

a

Giving new definition to the existing operator is called………
a) a) function overloading
b) operator overloading
c) virtual function        
d) all of these

b



Which one of the following cannot be used for polymorphism?
a) overloading 
           
b) static member function
c) global member function       
d) none of these

b

In case of using abstract class, the function is supposed to be called first?
a) local function           
                       
b) function with highest priority
c) global function        
d) none of these

b