单项选择题

给出下面程序: public class ex51 { public static void main(String[] args) { String s = "hello"; String t = "hello"; char c[] = {’h’, ’e’, ’1’, ’1’, ’o’}; System. out. println (______) } } 在程序的横线处填入下列______选项后,程序输出的结果是true。

A.equals(
B.equals(
C.s == t
D.t == c
题目列表

你可能感兴趣的试题

微信扫码免费搜题