单项选择题

java.lang.object类中实现线程通信的两个方法是( )。

A.wait()和notify()
B.write()和read()
C.output()和input()
D.start()和stop()