package com.sf.javase; public class MethodMain { public static void main(String[] args) { // 0100 int c = 123; int d = 456; // 实参 int e = myFunc(c,d); System.out.println(e); } // 0260 private static int myFunc(int a, int b) { // 形参 // 函数的调用,有一个将实参赋值给形参的过程 // a = 123 , b = 456 return a + b; } }