题目网 >其他类 >综合类 >试题详情
问题详情

public class X {  public static void main (String[]args)  {  String s1 = new String (“true”);  Boolean b1 = new Boolean (true);  if (s2.equals(b1))   {  System.out.printIn(“Equal”);  }  }  }      What is the result?()  

A、 The program runs and prints nothing.

B、 The program runs and prints “Equal”

C、 An error at line 5 causes compilation to fail.

D、 The program runs but aborts with an exception.

未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。 收藏该题
查看答案

相关问题推荐

评述宋代邸报(朝报)、小报的内容、性质、作用。

教师要克服()或过多重复等不良语言习惯。

A、口头禅

B、顺口溜

C、熟语

PTN网元间的通信接口是()。

人际沟通的特征有()。

A、具有一定的目的性

B、是相互的双向交流过程

C、是一个行为过程

D、具有情感倾向性

E、具有对抗性

工会互助保障活动的特点是什么?

联系我们 用户中心
返回顶部