填空题

面向对象的模型中,最基本的概念足对象和 【1】 。

【参考答案】

类
<上一题 目录 下一题>
热门 试题

单项选择题
下面程序段的输出结果是( )。 public class Test { public static void main(String args[ ]){ int x,y; x=(int)Math.sqrt(5) 2+(int)Math.random()*5 2; y=(int)Math.sqrt(3) 2+(int)Math.random()*3 2; if (x>y) System.out.println( x>y ); else if (x==y) System.out.println( x=y ); else System.out.println( x<y ); } }
A.x>y
B.x=y
C.x<y
D.编译错误
单项选择题
软件测试的目的是( )。
A.证明程序正确
B.找出程序全部错误
C.尽量不发现程序错误
D.发现程序的错误
相关试题
  • 当使用Thread t=new Thread(r)创建一...
  • Java编写好的程序首先由编译器转换为标准字...
  • 类变量在类中声明,而不是在类的某个方法中...
  • 以下程序计算1+1 3+1 5+…+1 ...
  • 包含Swing构件的Applet(小应用程序)应该...