test012.java


public class test012
{
static int times = 3;

public static void main(String[] args)
{
int times = 4;
System.out.println("times的值为:" + times); //局部变量,在{}内部优先
}
}