C is the correct answer.
---
A is incorrect as there is no default constructor available in CD class.
B is incorrect as you cannot have two constructor calls
D is incorrect as call to super must be first line of constructor
Answer is C. super(); MUST be first all the time. In the example we have B and C but B is not correct cause I not using the this.r variable so only C is correct
This section is not available anymore. Please use the main Exam Page.1z0-808 Exam Questions
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.
azmikadir
Highly Voted 4 years, 4 months agoStewart125
Highly Voted 3 years, 6 months agoa_really_reliable_programmer
7 months, 4 weeks agoKarreRavi
Most Recent 1 month agoSezam
7 months, 3 weeks agoSezam
7 months, 3 weeks agoVicky_65
1 year agoAnkit1010
1 year, 2 months agobakhdak
1 year, 10 months agoarcher1903
1 year, 10 months agoalexandrustefanescu
2 years, 9 months agoSSJ5
2 years, 11 months agolevilevi
3 years, 8 months agoSamAru
3 years, 9 months agov323rs
4 years, 3 months ago