单项选择题

可以指定线程阻塞多长时间的方法是下列哪个方法

A.sleep( )
B.yield( )

C.interrupt( )
D.stop( )