登录 | 首页 -> 华新鲜事 -> 社会百科 | 切换到:传统版 / sForum | 树形列表
WindowAdapter是抽象类,为什么
<<始页  [1]  末页>> 

WindowAdapter是抽象类,为什么可以用
new WindowAdapter()来实例化
可以解释一下吗
谢谢
[梅花鹿 (1-5 18:32, Long long ago)] [ 传统版 | sForum ][登录后回复]1楼

You can still instantiate abstract classes, ...... as long as you provide the implementation during instantiation. (The class created is a subclass of the abstract class, and is called an "anonymous class.")[Flying (1-6 9:31, Long long ago)] [ 传统版 | sForum ][登录后回复]2楼


<<始页  [1]  末页>> 
登录 | 首页 -> 华新鲜事 -> 社会百科 | [刷新本页] | 切换到:传统版 / sForum