條件語句、循環語句

·一、switch-casehtml          switch中的比較是用的equals,而不是「==」,switch中只能使用byte、short、int、char、string、枚舉類型。(不能使用long、flaot、double)        各個case標籤沒必要連續、也不按特定順序排列,default標籤可位於switch-case結構中的任意位置,且default的判斷以後沒
相關文章
相關標籤/搜索