and anonymous inner class的意思|示意

美 / / 英 / /

匿名内部类


and anonymous inner class的网络常见释义

匿名内部类 匿名内部类 (and anonymous inner class),没有给出类名的内部类为匿名内部类。

and anonymous inner class相关例句

The first set of enclosing braces delineates the construction of an anonymous inner class, and the second set delineates the instance initializer for the anonymous inner class.

第一组闭合括弧划定一个匿名内部类的构造,第二组划定匿名内部类的实例初始化语句块。

Here, the ActionListener implementation is defined in place, as an anonymous inner class, and directly attached to the button.

这里,ActionListener实现是适时定义的,它定义为一个匿名内部类,并直接附加到按钮上。

In fact, an anonymous inner class can't even extend a class and implement an interface at the same time.

事实上,一个匿名内部类甚至不能同时扩展一个类和实现一个借口。