Ans: C Explanation: Option C is correct because the syntax of an anonymous inner class allows for only one named type after the new , and that type must be either a single interface (in which case the anonymous class implements that one interface) or a single class (in which case the anonymous…25 Ara 2018
Read moreWhich of the following is true about the inner class?
An inner class has access to all fields and methods (including private fields and methods) of its outer containing class . Inner classes cannot implement interfaces. An inner class object contains implicit reference to the enclosing class object.
Read more