试题详情
单项选择题 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
  • 关注下方微信公众号,在线模考后查看

热门试题