單項選擇題在線程同步中, 為了喚醒另一個等待的線程,使用下列方法()
A.sleep()
B.wait()
C.notify()
D.join()
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題能夠向文件輸入邏輯型數(shù)據(jù)的類是:()
A.FileOutputStream
B.OutputStream
C.FileWriter
D.DataOutputStream
2.單項選擇題能夠以字符串為單位寫入文件數(shù)據(jù)的流類是()
A.FileOutputStream
B.FileWriter
C.BufferedWriter
D.OutputStream