parameter vs argument
What is the difference between an argument and a parameter?
引数和参数有何区别?
While defining method, variables passed in the method are called parameters.
当定义方法时,传递到方法中的变量称为参数.
While using those methods, values passed to those variables are called arguments.
当使用方法时,传给变量的值称为引数.
引数和参数有何区别?
While defining method, variables passed in the method are called parameters.
当定义方法时,传递到方法中的变量称为参数.
While using those methods, values passed to those variables are called arguments.
当使用方法时,传给变量的值称为引数.