The difference bettwen parameters and arguments in java

Note:

Parameters refers to the list of variables in a method declaration. 

Arguments are the actual values that are passed in when the method is invoked.

When you invoke a method, the arguments used must match the declaration's parameters in type and order.

 

reference from: https://docs.oracle.com/javase/tutorial/java/javaOO/arguments.html

上一篇:WPF快速入门系列(4)——深入解析WPF绑定


下一篇:Ansible常用模块