Alternatively, you can use the Java Optional class to safely check for a null value: Optional<Integer> optionalNumber = Optional.
確定! 回上一頁