java中的static变量时间:2023-03-09 14:31:20 java中的static变量 例如 public static int num=0; num+=1;放在函数里面 调用一次变动一次。