填空题

Applet要响应键盘的操作,应该在init()方法中加入(设键盘事件监听者就是Applet自身)的语句是______。

【参考答案】

this.addKeyListener(this);
热门 试题