package test;
public class Demo {
int z;
public int addnum(int x, int y) {
return x + y;
}
public static void main(String[] args) {
Demo d = new Demo();
int i = 0;
d.z = d.addnum(2, 3); //d.z 是什么意思
System.out.println(d.z);
Caballarii
相关分类