填空題

取得當(dāng)前線程的語句是:()

答案: Thread.currentThread()
題目列表

你可能感興趣的試題

填空題

實(shí)現(xiàn)多線程的兩種方式是:()。

答案: 1、繼承Thread類,2、實(shí)現(xiàn)Runnable接口
填空題

隨機(jī)訪問文件類是(),它實(shí)現(xiàn)了與()類同樣實(shí)現(xiàn)的接口DataInput, DataOutput.。

答案: RandomAccessFile;DataInputStream, DataOutputStream
微信掃碼免費(fèi)搜題