Java局部变量 Java方法toArray() Java中断,继续和标签 Java局部变量 public class Test { public void pupAge() { int age = 0; age = age + 7; System.out.println("Puppy age is : " + age); } public static void main(String args[]) { Test test = new Test(); test.pupAge(); } } Java方法toArray() Java中断,继续和标签