The parameter to the method is the basic data type

Posted lzp123456-

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The parameter to the method is the basic data type相关的知识,希望对你有一定的参考价值。

 1 package method.invocation;
 2 
 3 public class TheParameterToTheMethodIsTheBasicDataType {
 4     public static void main(String[] args) {
 5         int a = 10;
 6         int b = 20;
 7         
 8         System.out.println(a+" "+b);
 9         
10         change(a, b);
11         
12         System.out.println(a+" "+b);
13     }
14     
15     public static void change(int a, int b) {
16         System.out.println(a+" "+b);
17         a = b;
18         b = a + b;
19         System.out.println(a+" "+b);
20     }
21 }

 

以上是关于The parameter to the method is the basic data type的主要内容,如果未能解决你的问题,请参考以下文章

Use the Get-Command PowerShell Cmdlet to Find Parameter Set Information

Unable to interpret the implicit parameter configuration with dataType

错误代码 1582 Incorrect parameter count in the call to native f

pull_to_refresh Error: No named parameter with the name ‘keyboardDismissBehavior‘

pull_to_refresh Error: No named parameter with the name ‘keyboardDismissBehavior‘

pull_to_refresh Error: No named parameter with the name ‘keyboardDismissBehavior‘