If the Optional object were empty, nothing would be printed. You can also use the isPresent() method to find out whether a value is present in an Optional ...
確定! 回上一頁