不使用局部变量,因此可以保持未初始化
尝试使用它时会出现编译错误(即使它不是final):
final
System.out.println("test program" + y);
局部变量y可能尚未初始化