lab 3 +  interface DataInput,DataOutput