What do 3 dots next to a parameter type mean in Java?

What do the 3 dots following String in the following method mean? public void myMethod(String… strings){ // method body } 10 s 10 It means that zero or more String objects (or a single array of them) may be passed as the argument(s) for that method. See the “Arbitrary Number of Arguments” section here: http://java.sun.com/docs/books/tutorial/java/javaOO/arguments.html#varargs … Read more