Answer is B, also tested
The daze instance calls methodB in the Daze class which calls methodB in the Bar class (via its Bar field), then methodB in the Baz class (via super)
Answer is B. Methods are correctly overridden and methodB from Daze class is called since that is actual object.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Manuel7000
Highly Voted 3 years, 3 months agoshivkumarx
Most Recent 3 months, 2 weeks agoasdfjhfgjuaDCV
4 months, 1 week agoshivkumarx
3 months, 2 weeks agosteefaand
5 months, 1 week ago