尽可能不要写多个代码块(因为没有意义,可以写在一起)
class Person{ int age; { age = 20; System.out.println("代码块 age="+age); } { age=30 System.out.println("代码块 age="+age); }}