Variable-Length Argument Lists : Variable Length Argument « Object Oriented « SCJP






public class MainClass {
  public static void main(String[] argv) {

    a("a");
    a("a", "b");
    a("a", "b", "c");

  }

  static void a(String... stringies) {

  }
}








6.6.Variable Length Argument
6.6.1.Var-arg type
6.6.2.Variable-Length Argument Lists