What would be the behaviour if this() and super() used in a method?
(a) Runtime error
(b) Throws exception
(c) compile time error
(d) Runs successfully
The question was posed to me during a job interview.
This is a very interesting question from Constructor in portion Classes and Methods of Java