学科分类

已选分类 工学计算机科学与技术计算机软件与理论
不定项选择题( )是SQL Server 2005提供的集成环境,这种工具可以完成访问、配置、控制、管理和开发SQL Server的所有工作。 A.SOL Server Management Studio B.SQL Server配置管理器 C.SQL Server Profiler D.SQL Server Business Intelligence Development Studio
进入题库练习
不定项选择题给出下面的代码: public class Person{ int arr[]=new int[10]; public Static void main(String a[]){ System.out.println(arr[1]); 以下叙述对的是______。 A.编译时出错 B.编译时正确而运行时出错 C.输出0 D.输出null
进入题库练习
不定项选择题Which of the following fragments might cause errors? A.String s = Gone with the wind; String t = good ; String k = s + t; B.String s = Gone with the wind; String t; t = s[3] + one; C.String s = Gone with the wind; String standard = s.toUpperCase(); D.String s = home directory; String t = s - directory;
进入题库练习
不定项选择题下面的赋值语句正确的是______。 A.float f=11.1; B.double d=5.3E12; C.double d=3.14159; D.double d=3.14D;
进入题库练习
不定项选择题Given the following code: 1)class Person { 2) public void printValue(int i, int j) {/*…*/ } 3) public void printValue(int i) {/*…*/ 4) } 5) public class Teacher extends Person { 6) public void printValue() {/*…*/ } 7) public void printValue(int i) {/*…*/} 8) public static void main(String args[]) { 9) Person t = new Teacher(); 10) t.printValue(10) ; 11)} 12)} Which method will the statement on line 10 call? A.on line 2 B.on line 3 C.on line 6 D.on line 7
进入题库练习
不定项选择题默认情况下,Management Studio启动后将显示( )。 A.已注册的服务器窗口 B.对象资源管理器窗口 C.文档窗口 D.查询编辑器窗口
进入题库练习
不定项选择题给出下面的代码: class Person{ String name,department ; public void printValue(){ System.out.println(name is+name); System.out.println(department is +department); } } public class Teacher extends Person{ int salary; public void printValue(){ //doing the same as in the parent method printValue() //including print the value of name and department. System.out.printin(salary is+salary); } } 下面的______表达式可以加入printValue()方法的”doing the same as…”部分. A.printValue(); B.this.printValue(); C.person.printValue();D.super.printValue();
进入题库练习
不定项选择题在容器中使用按钮时,仅按钮的宽度会随容器大小改变,应使用______布局管理器. A.FlowLayout B.GridLayout C.North of BorderLayout D.South of BorderLayout E.East or West Of BorderLayout
进入题库练习
不定项选择题Which is the return type of the method main()? A.int B.void C.Boolean D.static
进入题库练习
不定项选择题下列Java标识符号中,有效的是______。 A.userName B./%passwd C.3d_game D.$charge E.this
进入题库练习
不定项选择题下面不是Java的原始数据类型的是______。 A.short B.Boolean C.unit D.float
进入题库练习
不定项选择题下列代码中,将引起编译错误的行是______。 1)public class Exercise{ 2)public static Void main(string args[]){ 3)float f=0.0; 4)f+=1.0; 5)} 6)} A.第2行 B.第3行 C.第4行 D.第6行
进入题库练习
不定项选择题如下Java的类定义: publiC class Example{ publ ic StatiC VOid main(String args[]){ StatiC int x[]=new int[15]j System.out.printin(X[5])j } ) 说法正确的是______。 A.编译时出错 B.运行时出错 C.输出结果为0 D.无输出
进入题库练习
不定项选择题如下Java的类定义: public class Example{ static int X[]=new int[15]; public static void main(String args[]){ System.out.printin(x[5]); } } 说法正确的是______。 A.编译时出错 B.运行时出错 C.输出0 D.无输出
进入题库练习
不定项选择题Which statements about the garbage collection are true? A.The program developer must create a thread to be responsible for free the memory. B.The garbage collection will check for and free memory no longer needed. C.The garbage collection allow the program developer to explicity and immediately freethe memory D.The garbage collection can free the memory used java object at expect time.
进入题库练习
不定项选择题______不是InputStream类中的方法. A.int read(byte[]) B.void flush() C.void close()D.int available()
进入题库练习
不定项选择题方法resume()负责恢复哪些线程的执行? A.通过调用stop()方法而停止的线程 B.通过调用sleep()方法而停止运行的线程 C.通过调用wait()方法而停止运行的线程 D.通过调用suspend()方法而停止运行的线程
进入题库练习
不定项选择题给出下面的不完整的方法: 1) 2){success=connect(); 3)if(success==-1){ 4)throw new TimedOutException(); 5)} 6)} TimedoutException不是一个RuntimeException。下面的______声明可以被加入第一行完成此方法的声明。 A.public void method() B.public void method()throws Exception C.public void method()throws TimedOutException D.public void method()throw TimedOutException E.public throw TimedOutException void method()
进入题库练习
不定项选择题关于垃圾收集的叙述正确的是______。 A.程序开发者必须自己创建一个线程进行内存释放的工作 B.垃圾收集将检查并释放不再使用的内存 C.垃圾收集允许程序开发者明确指定并立即释放该内存 D.垃圾收集能够在期望的时间释放被Java对象使用的内存
进入题库练习
不定项选择题查找随机文件的记录时,应使用的方法是______。 A.readInt() B.readBytes(int n) C.seek(long 1)D.readDouble()
进入题库练习