单项选择题

在串行化类中实现部分串行化的两个方法为( )。

A.writeExtemal()和readExtemal()
B.writeObject()和readObject()
C.DataInput()和DataOutput()
D.read()和write()