java 类静态代码块变量和类成员命名同样

例子 public class Test { static { int x = 5; } static int x,y; public static void main(String[] args) { x--; y=x++ + ++x; System.out.println(x+"****"+y)
相关文章
相关标签/搜索