最佳答案:public int A( int s){ int a; a=5; return a+s; } public void B(){ int b = 4; int c; c = A(b); } 这里的方法