WindowAdapter是抽象类,为什么可以用
new WindowAdapter()来实例化
可以解释一下吗
谢谢
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.")
