王老师:19139051760(拨打)复制微信 题目 更新时间:2023/4/3 下列程序的输出结果_______。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("不相等");}}} 答案 登录 注册 正确答案为: 相等 出自:石家庄铁道大学 >> 石家庄铁道大学面向对象程序设计 石家庄铁道大学继续教育学院