The parameter to the method is the basic data type
程序员文章站
2022-07-04 22:18:28
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 }
下一篇: vue仿element实现分页器效果
推荐阅读
-
SpringBoot报错:Missing URI template variable 'XX' for method parameter of type XX
-
SpringMVC-Missing URI template variable 'id' for method parameter of type String
-
Missing URI template variable ‘id‘ for method parameter of type int[已解决]
-
Missing URI template variable 'employeeNumber' for method parameter of type String
-
springmvc:错误Missing URI template variable XX for method parameter of type String
-
Missing URI template variable 'XXXX' for method parameter of type String
-
Missing URI template variable ‘employeeNumber‘ for method parameter of type String
-
The parameter to the method is the basic data type
-
The parameter to the method is the basic data type
-
spring boot Required request parameter ‘xxx‘ for method parameter type xxx is not present