Python_Institute
PCAP-31-03 · Question #164
Assuming that the following inheritance set is in force, which of the following classes are declared properly? (Select two answers)
The correct answer is B. class Class_4(C,B): pass C. class Class_1(D): pass. See the full explanation below for the reasoning.
Question
Assuming that the following inheritance set is in force, which of the following classes are declared properly? (Select two answers)
Options
- Aclass Class_3(A,C): pass
- Bclass Class_4(C,B): pass
- Cclass Class_1(D): pass
- Dclass Class_2(A,B): pass
How the community answered
(28 responses)- A7% (2)
- B79% (22)
- D14% (4)
Community Discussion
No community discussion yet for this question.