• 2022-06-08
    String s=new String(“hello”);String t =new String(“hello”);char c [ ] ={‘h’,’e’,’l’,’l’,’o’};下列哪些表达式返回true ?
    A: s.equals(t);
    B: t.equals(c);
    C: s= =t ;
    D: t.equals (new String(“hello”));