Which of the following is the valid class declaration header for the derived class d with base classes b1 and b2?
A. class d : public b1, public b2
B. class d : class b1, class b2
C. class d : public b1, b2
D. class d : b1, b2
Answer:A
Which of the following is the valid class declaration header for the derived class d with base classes b1 and b2?
A. class d : public b1, public b2 B. class d : class b1, class b2 C. class d : public b1, b2 D. class d : b1, b2