java中关于add(int a,int b),比如 add(int a,int b),c 是a+b的结果.我在上课的时候老师有用过这种,,不过忘记了。。麻烦高手帮忙啊。。[解决办法]
int add(int a,int b){ int c = a+b; return c;}