你可能喜欢
单项选择题
A.button.enableActioinEvents();
B.button.addActionListener(anActionListener);
C.button.enableEvents(true);
D.button.enableEvents(AWTEvent.ACTION_EVENT_MASK);
单项选择题
A.调用类Worker中定义的super()方法
B.调用类Person中定义的super()方法
C.调用类Person的构造函数
D.语法错误
单项选择题
A.addListener()
B.addActionListener()
C.addButtonListener()
D.setListener()
多项选择题
A.image是要绘制的图像
B.x,y是表示图像的中心的位置
C.width是源图像的宽度
D.this是容器
多项选择题
A.Orange(){„}
B.Orange(„){„}
C.PublicvoidOrange(){„}
D.PublicOrange(){„}
E.PublicOrangeConstuctor(){„}