单项选择题

如果一个用户自定义的类以对象为单位进行读写时,该类定义时应实现一个接口()

A.DataInput
B.DataOutput
C.ObjectOutput
D.Serializable