public class LastLaugh{
public static void main(String[] args)
{
System.out.print("H"+"a");
System.out.print('H'+'a');
}
}
来想想你的答案是什么?做对了么?
public class ABC{
public static void main(String[] args)
{String letters = "ABC";
char[] numbers = {'1','2','3'};
System.out.println(letters + "easy as" + numbers);
}
} |