对于基本数据类型的数据作为方法参数,是按值传递(passing by value),即将实参变量所指向的栈内存临时存储区所存储数据(即实参变量的值)进行复制,然后传递给形参变量..
基于12个网页-相关网页
Two transfer mechanisms are available: passing by value (inline) and by reference.
有两个可用转换机制:通过值传递(内联)和通过引用传递。
Each parameter is specified by calling a client method with the same name and by passing the value to the method as first argument.
通过调用相同名称的客户端以及将值作为第一个参数传递给该方法,来指定每个参数。
User preferences defined in the XML descriptor of the gadget, which can be assigned a value by passing the name of the preference, preceded with _up, as a request parameter to the service.
在小部件的XML描述器中定义的用户首选项(可以通过传递首选项的名称分配一个值)前面有一个_ up,作为服务的请求参数。
应用推荐