知止而后有定,定而后能靜,靜而后能安,安而后能慮,慮而后能得。物有本末,事有終始。知所先后,則近道矣。
public class Test { public void test(Object... args) { Object o = args[0]; Object o1 = args[1]; } public void test2(int... args) { // do something; } }
</script>
Powered by: BlogJava Copyright © helloworld2008