定义
private static final 数据类型 名字 = 值
例如以下
//const int MAX = 2005
private static final int MAX = 2005;
//int mk[MAX];
private static int[] mk = new int[MAX];
private static int[] mem = new int[MAX];
//int cnt;
private static int cnt = 0;
private static int idx = 0;
private static int sum = 0;
标签:cnt,Java,int,MAX,private,static,全局变量
From: https://www.cnblogs.com/RimekeyBergling/p/16828802.html