• 2022-06-08 问题

    给出下列的程序段,则哪个选项返回true ( ) String s="hello"; String t="hello"; char c[]={'h','e','l','l','o'}; A: equals(; B: Lequals(; C: s==t; D: t==c;

    给出下列的程序段,则哪个选项返回true ( ) String s="hello"; String t="hello"; char c[]={'h','e','l','l','o'}; A: equals(; B: Lequals(; C: s==t; D: t==c;

  • 2022-06-08 问题

    给出下列的程序段,则哪个选项返回true ( ) String s="hello"; String t="hello"; char c[]='h','e','l','l','o'; A: equals(t); B: Lequals(c); C: s==t; D: t==c;

    给出下列的程序段,则哪个选项返回true ( ) String s="hello"; String t="hello"; char c[]='h','e','l','l','o'; A: equals(t); B: Lequals(c); C: s==t; D: t==c;

  • 1