1. fun addNum(vararg args: Int){
    2. }

    效果等同于Java中的:

    1. public void addNum(int... args){
    2. }