Vidyalelo
Java Programming · Q108

Constructors and Methods

Programming · Java Programming · question 108

Q108

What would be the behaviour if this() and super() used in a method?

A.
Runtime error
B.
Throws exception
C.
compile time error
Answer
D.
Runs successfully

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board