62,615
社区成员
发帖
与我相关
我的任务
分享
package test;
public class test {
static{
int x=5;
}
static int x,y;
public static void main(String[] args) {
x--;
myMethod();
System.out.println(x + y + ++x);
}
public static void myMethod(){
y = x++ + ++x;
}
}