equals("") ? 0 : Integer.parseInt(input);. Notice how the first ternary operator condition checks if the input String is null . If so, ...
確定! 回上一頁