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.

时间:2022-11-06 22:21:37 所属题库:SCJP程序员认证考试题库

相似题目