问题 填空题

下面是用户程序对Applet类中方法action()的重新定义,功能为从单行文本编辑区input中输入数据赋给k。Text Field类的对象input和int型变量k已在类体中正确说明。
Public ______ action(Evente,Object o)
if’(e.target==input)
k=Integer.parseInt( ______ .get Text()):
repaint();
return true;

答案

参考答案:nicode input

单项选择题
单项选择题