1 2 3 4 5 6 7 8 9
public class Test { void method(String... p) { int i = p[0].intValue(); } public void doSmth() { m(123); } }