可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

public class IfTest (&


public class IfTest (   public static void main(stringargs) {   int x = 3;  int y = 1;   if (x = y)   system.out.printIn(“Not equal”);   else   system.out.printIn(“Equal”);   }   )   What is the result?()

  • A The output is “Equal”
  • B The output in “Not Equal”
  • C An error at line 5 causes compilation to fall.
  • D The program executes but does not print a message.
参考答案
参考解析:
分类:SCJP程序员认证考试题库
相关推荐

1、若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值

若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值为()A0B-1C1D2

2、public class IfTest (&

public class IfTest ( public static void main(string[]args) { int x = 3; int y = ...

3、AMPS通信系统属于第()代移动通信。

AMPS通信系统属于第()代移动通信。A第一代B第二代C第三代D第四代

4、AMPS属于()。

AMPS属于()。A1GB2GC3GD4G

5、cAMP(cyclic AMP)

cAMP(cyclic AMP)

6、表达式10>5&&6%3的值是()

表达式10>5&&6%3的值是()A-1B非零值C0D1