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
答案解析:有
微信扫一扫手机做题