If queue is empty then peek() method also returns null. Recently Updated Interview Questions in Java Collections.
確定! 回上一頁