Python_Institute
PCAP-31-03 · Question #22
Assuming that the following inheritance set is in force, which of the following classes are declared properly? (Select two answers)
The correct answer is A. class Class_4 (D, A) : pass B. class Class_1(C,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_4 (D, A) : pass
- Bclass Class_1(C,D): pass
- Cclass Class_3(A,C): pass
- Dclass Class_2(B,D): pass
How the community answered
(34 responses)- A79% (27)
- C12% (4)
- D9% (3)
Community Discussion
No community discussion yet for this question.