Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCAP-31-03 Topic 4 Question 70 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 70
Topic #: 4
[All PCAP-31-03 Questions]

The following class hierarchy is given. What is the expected output of the code?

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Scarlet
1 days ago
Hold on, I think I see what's happening here. The method in the child class is overriding the parent class method, so the output should be AA. Time to put on my thinking cap!
upvoted 0 times
...
Cathrine
3 days ago
I am not sure, but I think it might be C) AA.
upvoted 0 times
...
Ozell
4 days ago
I believe the output will be D) BC.
upvoted 0 times
...
Kenneth
7 days ago
Hmm, this looks like a tricky one. I'm going to go with B) CC, since that seems like the most logical output based on the class hierarchy.
upvoted 0 times
...
Allene
7 days ago
I think the expected output is A) BB.
upvoted 0 times
...

Save Cancel