下列内部类的正确用途是()。btnn.addAcfionListener(new//注册监听器ActionListener0{publicvoida

下列内部类的正确用途是()。btnn.addAcfionListener(new//注册监听器ActionListener0{publicvoidactionPerformed(ActionEventevent){Strings=input.getText();output.setText("Hello"+s+",WelcomeYou!");}}); A.用于访问外部类的数据 B.用于进行事件处理 C.隐藏起来不被同一包中的其他类所见 D.生成事件适配器

时间:2023-08-14 16:05:46

相似题目