programming-notes

15.12.4.4. Locate Method to Invoke

JLS §15.12.4.4 规定:调用实例方法时,如果目标引用为 null,就在运行时抛出 NullPointerException

15.22.1. Integer Bitwise Operators &, ^, and |

15.22.2. Boolean Logical Operators &, ^, and |

15.23. Conditional-And Operator &&

15.28. switch Expressions

switch() {
    case :
        ...;
        break;
    case :
        ...;
        break;
    case :
        ...;
        break;
    default :
        ...;
        break;
}