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

C++ Institute Exam CPA-21-02 Topic 1 Question 16 Discussion

Actual exam question for C++ Institute's CPA-21-02 exam
Question #: 16
Topic #: 1
[All CPA-21-02 Questions]

Which code line inserted instead of the comment below will cause the program to produce the expected output?

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Judy
10 hours ago
Hmm, looks like we need to call the print() method of the base class A, not B. I think option A is the way to go.
upvoted 0 times
...
Kizzy
1 days ago
I disagree, I believe the answer is C) ob2.B::print()
upvoted 0 times
...
Natalya
3 days ago
I think the correct answer is A) ob2.A::print()
upvoted 0 times
...

Save Cancel