问答题

写出以下程序的运行结果
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);
   }
}

答案: goodnight
微信扫码免费搜题