String msg = queue.poll(); System.out.println(msg);. 這裡的觀念和其他JAVA容器一樣,可以指定容器內的物件型態,以上例而言,我們首先宣告了 ...
確定! 回上一頁