공부/기타

가변인자(매개변수) c#, java

Lectinua 2019. 11. 3. 16:06

c#

Method(params object[] objs) {}

 

java

Method(Object...objs) {}

 

모두 맨 마지막에 넣어야함