【简答题】写出以下程序的运行结果public class Test { public static void main(String args[]) { String s = "good,night"; String str[] = s.split(","); for (String a : str) System.out.print(a); }}
【简答题】写出以下程序的运行结果public class Test { public static void main(String a[]) { StringBuffer x = new StringBuffer("同舟共济"); x.append(","); x.append("团结抗疫"); System.out.print(x); }}