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

Home
SCJP
1.Java Source And Data Type
2.Operators
3.Modifiers
4.Type Casting
5.Statements
6.Object Oriented
7.Thread
8.Utility Classes
9.File
SCJP » Object Oriented » Variable Length Argument 
6.6.2.Variable-Length Argument Lists
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
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.