Suppose that bClass is a class. Which of the following statements correctly derives the class dClass from bClass?
A. class dClass:: public bClass
{
//classMembersList
};
B. class dClass: private bClass
{
//classMembersList
};
C. class dClass:: protected bClass
{
//classMembersList
};
D. class bClass: public dClass
{
//classMembersList
};
Answer: B
Computer Science & Information Technology
You might also like to view...
The ________ tab is the default Access tab and contains basic editing functions
A) Database Tools B) Home C) Create D) External Data
Computer Science & Information Technology
A_______ begins with a reference to the first node, and each node contains a reference to the next node.
a) doubly linked list. b) singly linked list. c) circular, singly linked list. d) None of the above.
Computer Science & Information Technology