Object Oriented Programming - Object Modelling - 2

86:  
The dot operator (or class member access operator) connects which of the following two entities (reading from left to right) ?
A.

class member and a class object

B.

class object and a class

C.

class and a member of that class

D.

class object and a member of that class.

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



87:  

A constructor initialization list is proceeded by

A.

a semicolon

B.

a colon

C.

two colons

D.

a space

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



88:  
When a derived class and instantiate are created, an object,
A.

parent class object must be constructed first.

B.

child class object must be constructed first

C.

parent class object must not be constructed

D.

child class object must not be constructed.

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



89:  

The statement double total = 0.0; performs

A.

assignment

B.

initialization

C.

rationalization

D.

polymorphism

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



90:  

Classes are useful because they

A.

permit data to be hidden from other classes

B.
bring together all aspects of an entity in one place
C.

can closely model objects in the real word.

D.

all of these

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here: