Value objects as method parameters.
使用值对象作为方法参数。
Identify the method parameters and understand how to use them.
了解方法参数及如何使用它们。
As you can also see, the method parameters can be primitive types or objects.
可以看到,方法的参数可以是原生类型或是对象。
Method parameters may also have a return value.
方法有参数,也可能有返回值。
Method parameters may also have a return value.
方法有参数,也可能有返回值。
应用推荐