//类与对象 求 任意两个数字的和
public class Practice5 //Practice5 是自己javaclass里保存的{
public int qwe(int a,int b){
return a+b;
}
public static void main(String[] args) {
Practice5 sc = new Practice5();
int total = sc.qwe(2,3);//在控制台输入时只需要输入数字中间用,分开
System.out.println(total);
}
}