Which of the following is a valid definition of the derived class bClass?

A. class aClass: public bClass
{
//...
};

B. class bClass: public aClass
{
//...
};

C. class aClass::bClass
{
//...
};

D. class bClass::aClass
{
//...
}


Answer: B

Computer Science & Information Technology

You might also like to view...

Suppose class Child is derived from class Parent was in turn derived from class GrandParent. The class Parent and GrandParent are the

a. Predecessor classes of class Child b. Forebearer classes of class Child c. Ancestor classes of class Child d. Descendant classes of class Child e. None of the above

Computer Science & Information Technology

Which of the following physical security measures should be applied to a server room?

A) The room should be locked at all times. B) The room should be fireproof. C) The room should have no windows. D) All of the above

Computer Science & Information Technology

It is useful, at times, to add the same field to a query several times

Indicate whether the statement is true or false

Computer Science & Information Technology

Distinguish between CMMI and its predecessor CCM.

What will be an ideal response?

Computer Science & Information Technology