Which of the following would be an invalid class declaration?

1.7 Which of the following would be an invalid class declaration?
A) Class d: public b2, public b1
B) Class d: class b2, class b1
C) Class d: public b2, b1
D) Class d: b2, b1

Leave a Reply