知止而后有定,定而后能静,静而后能安,安而后能虑,虑而后能得。物有本末,事有终始。知所先后,则近道矣。
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