变量声明

  • 每个声明一个变量(每行最多一个声明)
  • 数组的方括号应该是类型(String[] args)而不是变量(String args[])。
  • 在第一次使用之前声明一个局部变量,并将其初始化为尽可能接近声明。