单项选择题
下列程序段的输出是( )。
public class Test
public static void main (String args[ ])
String ss1 = new String("hello");
String ss2 = new String("hello");
System. out. println(ssl == ss2);
System. out. println (ss1. equals(ss2));
A.true, false
B.true, true
C.false, true
D.false, false
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
在由一个二元算术运算符构成的表达式中,如果操作数1的数据类型为int类型,操作数 2的数据类型为long类型,则在运算过程中,是转换为 【6】 数据类型来运算的。
点击查看答案&解析
填空题
Jackson结构化程序设计方法是英国的M. Jackson提出的,它是一种面向 【2】 的设计方法。
点击查看答案&解析
相关试题
CardLayout布局管理器可以使多个构件共享同...
Applet类中用于返回包含Applet的HTML文件UR...
Java中的对象锁是一种独占的 【12】 锁...
在Java中,将程序里出现的对象保存在外存中...
多线程程序设计的含义是可以将一个程序任务...