單項(xiàng)選擇題

【單選題】1.2 若有下列定義多線程方式的描述: ① 繼承Runnable,重寫run方法 ②引用Runnable, 重寫run方法 ③繼承Thread , 重寫run方法 ④ 引用Thread , 重寫run方法 則正確的描述有( )

A、① ③
B、① ④
C、② ③
D、② ④
微信掃碼免費(fèi)搜題