mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
22 lines
546 B
Java
22 lines
546 B
Java
import java.io.*;
|
|
|
|
public class pr21785 implements Serializable
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
try {
|
|
ByteArrayOutputStream outb = new ByteArrayOutputStream();
|
|
ObjectOutputStream outs = new ObjectOutputStream(outb);
|
|
outs.writeObject(new pr21785());
|
|
byte[] store = outb.toByteArray();
|
|
|
|
ByteArrayInputStream inb = new ByteArrayInputStream(store);
|
|
ObjectInputStream ins = new ObjectInputStream(inb);
|
|
ins.readObject();
|
|
}
|
|
catch (Throwable e) {
|
|
throw new Error(e);
|
|
}
|
|
}
|
|
}
|