It is better to ensure that the value is not null. Method #4 will work for you. It will not evaluate the second condition, because Java has short-circuiting ...
確定! 回上一頁