递归 参数传递

参数传递:

  1. 基本类型(真实值)
  2. 引用(地址)

基本类型

public class Test1 {
   
    public static void main(String[] args) {
   
        int before = 1;
        System<
posted @ 2022-05-14 20:07  长勺  阅读(42)  评论(0)    收藏  举报