這三個方法皆被定義在基礎物件 Object 中,是屬於物件方法而非類別方法,每個物件都有各自獨立的 wait pool 與 lock pool。 wait()讓執行緒進入等待狀態(wait pool)。
確定! 回上一頁