以下程序代码的输出结果是______
    String s=new String("abcdef"), t=new String("123");
    System.out.println((concat(s, t)).length());
 
【正确答案】 D
【答案解析】 本题考查字符串基本操作concat和length,其中concat没有concat(String, String)这样的使用方式。正确的使用方式如下:
   String s=new String("abcdef"), t=new String("123");
   System.out.println((s.concat(t)).length());
   System.out.println("abc".concat("123").length());