If there is a derived class in a program, how many classes must be in that program?

Trung Minh

New member
If there is a derived class in a program, how many classes must be in that program?
A. 1
B. 2
C. 3
D. 4
 
Answer: b
Explanation: If there is a derived class in a program, there must be at least 2 classes in that program. One is a base class and another derived class. Hence at least 2 classes must be there.
 

Tìm kiếm

Back
Top