java基础回顾

spcial thanks to 氧气计算

  1. 在Java中如何跳出当前的多重嵌套循环?
  2. switch语句能否作用在byte上,能否作用在long上,能否作用在String上?

    switch(expr),其中expr只能是一个整数表达式(intInteger)或枚举变量。

  3. short s1 = 1; s1 = s1 + 1;short s1 = 1; s1 += 1的区别?

  4. char型变量能否存储一个中文汉字?