3 public class pr21785
implements Serializable
5 public static void main(String
[] args
)
8 ByteArrayOutputStream outb
= new ByteArrayOutputStream();
9 ObjectOutputStream outs
= new ObjectOutputStream(outb
);
10 outs
.writeObject(new pr21785());
11 byte[] store
= outb
.toByteArray();
13 ByteArrayInputStream inb
= new ByteArrayInputStream(store
);
14 ObjectInputStream ins
= new ObjectInputStream(inb
);