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...

The difference between an accumulator and a counter lies in the ____ that you add to the variable.

A. comments B. updates C. value D. text

Computer Science & Information Technology

A(n) ____ builds a sorted array by determining where each element should be in the sorted part of the array and inserting it in that position while moving all other sorted elements over one position.

A. selection sort B. bubble sort C. insertion sort D. merge sort

Computer Science & Information Technology

When specifying the name of a UNIX realm on the Trust Name page of the New Trust Wizard, you must use all uppercase characters

Indicate whether the statement is true or false

Computer Science & Information Technology

Many companies use workgroup software, often called _____, because it enhances employee productivity and teamwork.

A. firmware  B. liveware  C. middleware D. groupware

Computer Science & Information Technology