Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

equivalent to params keyword in java

public void foo(Object... bar) {
    for (Object baz : bar) {
        System.out.println(baz.toString());
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #equivalent #params #keyword #java
ADD COMMENT
Topic
Name
7+8 =