// 需要用时就Constant.A.A1 Constant.B.B2
public class Constant {
public class A{
public static final String A1= "A1";
public static final String A2= "A2";
}
public class B{
public static final String B1= "B1";
public static final String B2= "B2";
}
}
网友评论