电子科技大学 / 面向对象程序设计
正确率:100%
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
A.all change height and width
B.Button Two change height and Button Three change width
C.Button One change height
D.Button Four change height and width
参考答案:
佳题速递: