1.三目运算
2.switch和if else
----else后不跟判断条件
java---三目运算、分支选择结构
原文:http://www.cnblogs.com/gc0416/p/7127072.html