三元運算 子Ternary Operator. 三元,顧名思義要放入三個東西。 判斷式? 若判斷為真執行區塊: 若判斷為假執行區塊. 範例程式:. int a = 10;. int b = 7;. int c = 0;.
確定! 回上一頁