Hi All:
First things first - The two questions are slightly different. I am referring to the previous posting referenced by Ramesh:
This is in response to the previous posting
http://www.javaranch.com/ubb/Forum24/HTML/002486.html I will have to disagree with Ajith (though I am doing it quite late - ajith's posting was on July 18th or so
)when he says answer B is not correct. Please correct me if I am wrong.
No where it is mentioned that ComplexInterface is an interface. So, just for the sake of discussion, ComplexInterface could be a class, right? In which case, it is legal to call the super class constructor in the anonymous class declaration and initialization as in new ComplexInterface(x) {}.
Awaiting responses!