搜题
王老师:19139051760(拨打)
题目  更新时间:2023/4/3

如果有一个对象象myListenerr((其中中myListenerr对象实现了了ActionListenerr接口),下列哪条语句使得得myListenerr对象能够接受处理来自于于smallButtonn按钮对象的动作
A.smallButton.add(myListener);
B.smallButton.addListener(myListener);
C.smallButton.addActionListener(myListener);
D.smallButton.addItem(myListener);

王老师:19139051760(拨打)