Anyway, the null object pattern is an attempt to solve this problem. ... Starting in version 8, Java introduced the Optional class.
確定! 回上一頁