• 2022-06-08
    String s=”hello”;String t=”hello”;String e=new String(”hello”) ;char c[]={„h‟,e‟,‟l‟,‟l‟,o‟};给定如上Java代码,编译运行时,以下( )语句的值是true。
    A: s.equals(t)
    B: t.equals(c)
    C: t== e
    D: t==c