this() and super() cannot both be used in the same constructor call: In a single constructor, you can either call another constructor in the same class using this() or call a constructor in the superclass using super(). You cannot use both of them in a single constructor call.
D is answer. Tested.
Output:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Constructor call must be the first statement in a constructor
upvoted 1 times
...
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.
SoNofPATEL
Highly Voted 1 year, 10 months agovic88
Most Recent 7 months, 1 week agoDriftKing
1 year, 10 months agoSreeni_A
1 year, 11 months agoVicky_65
2 years, 3 months agoRu_H33
2 years, 4 months agoUAK94
2 years, 9 months ago