Object Oriented Programming - Object Modelling - 2

61:  
The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is
A.

inheritance

B.

polymorphism

C.

overfunctioning

D.

overriding

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



62:  
Functions that returns information about an object's stage can be classified as
A.

inspector functions

B.

mutator functions

C.

auxiliary  functions

D.

manager functions

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



63:  

The destructor name must be preceded with a(n)

A.

exclamation point

B.

octothorp

C.

ampersand

D.

tilde

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



64:  

The return type for all destructors is

A.

the class

B.

void

C.

same as the first data in the class

D.

none of these

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



65:  

Student senior (); is a(n)

A.

constructor call with no arguments

B.

object instantiation

C.

constructor call with all default arguments

D.
prototype for a function that returns a student object
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here: