Using the Elvis Operator. You'll often see null checks written in a single line when setting or returning a variable: if (list != null) ...
確定! 回上一頁