单项选择题
下列程序的输出结果是( )。 interface Inter{ public final static int A=100; } class My implements Inter{ public static void main (String args[ ]) {System.out.println(A) ; }
A.100
B.0
C. A
D. 程序有错误
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下列程序的执行结果是( )。public class Testhh {public static void main(String args [] ) {Strings1=new String( I am boy );Strings2=new String( I am boy );System.out.println(s1.equals(s2));}}
A. true
B. false
C. I am boy
D. 都不正确
点击查看答案&解析
单项选择题
下列哪个是Java程序和数据库连接的一种机制
A. -3 3
B.5 -9
C. 3 -3
D.-6 5
点击查看答案&解析
相关试题
下列的程序的功能是求2~100之间的素数...
阅读下面程序public class Increment {...
下列程序的输出结果是( )。class Demo...
下列的哪个选项可以正确用以表示八进制值8
下列哪个选项不能提高程序的性能