多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

What will be the appearance of an applet with the following init() method?   public void init() {   add(new Button("hello"));  }  

  • A、Nothing appears in the applet.
  • B、A button will cover the whole area of the applet.
  • C、A button will appear in the top left corner of the applet.
  • D、A button will appear, centered in the top region of the applet.
  • E、A button will appear in the center of the applet.
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题