APP下载
首页
>
财会金融
>
Java计算机考试题题库
搜索
Java计算机考试题题库
题目内容
(
单选题
)
8 public static void main( ){

答案:STRINGARGS

Java计算机考试题题库
55. (判断题)Random对象的nextInt(int n)方法随机返回[0,n)之间的一个整数。( )
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-04f8-c04c-ee30166b1a01.html
点击查看题目
5. (单选题)在Java中定义整型常量的正确语法是( )。
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-0c68-c04c-ee30166b1a01.html
点击查看题目
38. (单选题)
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-e9a0-c04c-ee30166b1a00.html
点击查看题目
9. (单选题)
分析下面程序,输出结果是( )。
public class Test {
public static void main( ) {
String s1=new String( );
String s2="true";
if(s1==s2) //第5行
System.out.print( );
else System.out.print( );
}
}
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-5a88-c04c-ee30166b1a02.html
点击查看题目
55. (判断题)Java语言的主要贡献者是James Gosling。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-87f8-c04c-ee30166b1a03.html
点击查看题目
65. (判断题)static方法不可以重载。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-0cc8-c04c-ee30166b1a02.html
点击查看题目
6. (单选题)下列选项中,合法的赋值表达式是( )。
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-0c68-c04c-ee30166b1a02.html
点击查看题目
23. (单选题)关于super关键字以下说法错误的是( )。
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-79c8-c04c-ee30166b1a00.html
点击查看题目
11 }
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-1a98-c04c-ee30166b1a03.html
点击查看题目
1. (单选题)下面哪项不可以使用static关键字修饰?( )
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-4ae8-c04c-ee30166b1a00.html
点击查看题目
首页
>
财会金融
>
Java计算机考试题题库
题目内容
(
单选题
)
手机预览
Java计算机考试题题库

8 public static void main( ){

答案:STRINGARGS

分享
Java计算机考试题题库
相关题目
55. (判断题)Random对象的nextInt(int n)方法随机返回[0,n)之间的一个整数。( )
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-04f8-c04c-ee30166b1a01.html
点击查看答案
5. (单选题)在Java中定义整型常量的正确语法是( )。

A.   int value=20;

B.   const int VALUE=20;

C.   final int VALUE=20;

D.   int VALUE=20;

https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-0c68-c04c-ee30166b1a01.html
点击查看答案
38. (单选题)

A.  ASCII

B.  BCD

C.  DCB

D.  Unicode

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-e9a0-c04c-ee30166b1a00.html
点击查看答案
9. (单选题)
分析下面程序,输出结果是( )。
public class Test {
public static void main( ) {
String s1=new String( );
String s2="true";
if(s1==s2) //第5行
System.out.print( );
else System.out.print( );
}
}

A.   Equal

B.   No Equal

C.   程序运行时产生异常

D.   第5行编译出错

https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-5a88-c04c-ee30166b1a02.html
点击查看答案
55. (判断题)Java语言的主要贡献者是James Gosling。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-87f8-c04c-ee30166b1a03.html
点击查看答案
65. (判断题)static方法不可以重载。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-0cc8-c04c-ee30166b1a02.html
点击查看答案
6. (单选题)下列选项中,合法的赋值表达式是( )。

A.   a==1

B.   i+=1

C.   a=a+1=5

D.   y=int(i)

https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-0c68-c04c-ee30166b1a02.html
点击查看答案
23. (单选题)关于super关键字以下说法错误的是( )。

A.   super关键字可以调用父类的构造方法

B.   super关键字可以调用父类的普通方法

C.   super与this不能同时存在于同一个构造方法中

D.   super与this可以同时存在于同一个构造方法中

https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-79c8-c04c-ee30166b1a00.html
点击查看答案
11 }
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-1a98-c04c-ee30166b1a03.html
点击查看答案
1. (单选题)下面哪项不可以使用static关键字修饰?( )

A.   成员变量

B.   局部变量

C.   成员方法

D.   成员内部类

https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-4ae8-c04c-ee30166b1a00.html
点击查看答案
试题通小程序
试题通app下载