如果有一个对象象myListenerr((其中中myListenerr对象实现了了ActionListenerr接口),下列哪条语句使得得myListenerr对象能够接受处理来自于于smallButtonn按钮对象的动作
A.smallButton.add(myListener);
B.smallButton.addListener(myListener);
C.smallButton.addActionListener(myListener);
D.smallButton.addItem(myListener);
出自:河南财经政法大学JAVA面向对象设计