奥鹏作业答案 - 分忧网!奥鹏作业答案,奥鹏在线作业答案,奥鹏作业答案及毕业论文分忧

电大作业答案,国开在线作业答案,国开在线考核_分忧网

当前位置: 主页 > 形考线下 >

import java.awt.*; public class X extends Frame{ pub

时间:2021-06-12 13:22来源:未知 作者:admin 点击:
(单选题)6: import java.awt.*; public class X extends Frame{ public static void main(String[] args){ X x=new X();x.pack();x.setVisible(true); } public X(){ setLayout(new GridLayout(2,2)); Panel p1=new P
(单选题)6: import java.awt.*; public class X extends Frame{ public static void main(String[] args){ X x=new X();x.pack();x.setVisible(true); } public X(){ setLayout(new GridLayout(2,2)); Panel p1=new Panel(); add(p1); Button b1=new Button("One"); p1.add(b1); Panel p2=new Panel();add(p2); Button b2=new Button("Two"); p2.add(b2); Button b3=new Button("Three"); p2.add(b3); Button b4=new Button("Four"); add(b4); } }when the frame is resized,
A: all change height and width
B: Button One change height
C: Button Two change height and Button Three change width
D: Button Four change height and width
正确答案:♦D♦
(责任编辑:admin)有不懂可以加客服微信:vq800020900 咨询
------分隔线----------------------------
猜您喜欢
栏目导航
推荐内容
热点内容

要做作业扫码我

微信扫码客服

提示信息×