问题 更新时间2023/4/3 12:59:00 下列程序的输出结果_______。class StringTest1{public static void main(String[] args){String s1="hello";String s2=new String("hello");if(s1.equals(s2)){System.out.println("相等");}else{System.out.println("不相等");}}} 答案 登录 注册 正确答案为: 相等 出自:石家庄铁道大学 >> 石家庄铁道大学面向对象程序设计