顺序判断:(A) is true: -- 无论其它(B,C的状态) 均执行 {a}, 不再管后续的else了;(A) is false and (B) is true: -- 无论C的任何状态, 均执行 {b}, 不再管后续的else了;(A) is false and (B) is false and (C) is true: 执行 {c}, 不再管后续的else了;(A), (B), (C) 均为 false: 执行 {d}
这种语句,4个中只会执行一个,按照你判断的条件执行