public class test113 { public void method(){ final int age =23; class Localinner{ public void method(){ System.out.println("歌谣"); System.out.println(age); } } new Localinner().method(); } public static void main(String[] args) { test113 o=new test113(); o.method(); }