单项选择题

为了得到当前正在运行的线程,可使用下列哪个方法?()

A.getName()
B.Thread.CurrentThread().
C.sleep()
D.run()