单项选择题

下列关于AWT和Swing的比较叙述不正确的是( )。

A.c=1 d=1
B.c=2 d=1
C.c=2 d=2
D.c=1 d=2
<上一题 目录 下一题>
热门 试题

单项选择题
在下列源代码文件Test.java中,哪个选项是正确的类定义
A. public class test{   public int x=0;   public test(int x )   {    this.x=x;   }  }
B. public class Test {   public int x=0;   public Test(int x ) {    this.x=x;    } }
C. public class Test extends T1 T2 {   public int x=0;   public Test(int x){    this.x=x;   }  }
D. protected class Test extends T2 {   public int x=0;   public Test(int x) {    this.x=x;   }  }
单项选择题
下列程序的执行结果是( )。public class Testee{public static void main(String args[ ]){int a=4,b=6,c=8;String s= abc ;System.out.println(a+b+s+C) ;}}
A. ababcc
B.464688
C. 46abc8
D. 10abc8
相关试题
  • 下列程序的输出结果是( )。classA{int...
  • 在软件测试设计中,软件测试的主要目的是(...
  • 用链表表示线性表的优点是( )。
  • 在深度为5的满二叉树中,叶结点的个数为(...
  • 一个关系中属性个数为1时,称此关系为 (...