代码块 在程序之中使用“{}”定义的结构就称为代码块,而后根据代码块出现的位置以及定义的关键字的不同, 代码块可以分为
普通代码块主要特点是定义在一个方法之中的代码块
所谓全局变量和局部变量看哪个变量描述的范围更广一些
普通代码块可以在一个方法中进行一些结构的拆分,以防止相同变量名称所带来的互相影响 仅此而已