Object Oriented Programming - Object Modelling - 2

131:  
The function go in the ......... section of a class definition.
A.

declaration

B.

implementation

C.

prototype

D.

functioning

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



132:  

To use this pointer with a member function,

A.

declare this as static

B.

declare this as global

C.
define this as equal to address of the appropriate object 
D.

do nothing; it is automatically supplied for you.

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



133:  

Static variables are sometimes called

A.

class variables

B.

functional variables

C.

dynamic variables

D.

auto variables

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



134:  

You --------- write your own container classes.

A.

must

B.

may

C.

should not

D.

must not

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



135:  

An auxiliary function

A.

return information about data members

B.

change the state of data members

C.

performs an action or service

D.

creates and destroys objects.

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here: