Skip to main content

准备

  1. 类变量(static)分配内存 + 默认值 static int a = 10, a=0 now
  2. final 则会赋值为给定值 static final int a = 10, a=10 now