给定如下Java代码,编译运行时,以下( )语句的值是true。 String s=”hello”; String t=”hello”; String e=new String(”hello”) ; char c[]={'h','e','l','l','o'};
A.s.equals(t)
B.t.equals(c)
C.t==e
D.t==c
正确答案是A
给定如下Java代码,编译运行时,以下( )语句的值是true。 String s=”hello”; String t=”hello”; String e=new String(”hello”) ; char c[]={'h','e','l','l','o'};
A.s.equals(t)
B.t.equals(c)
C.t==e
D.t==c
正确答案是A
📱 扫码体验刷题小程序
扫一扫使用我们的微信小程序