import java.io.*;
class Main{
oos.writeObject(o);
oos.writeObject(o);
{
int[] o1 = (int[])ois.readObject();
int[] o2 = (int[])ois.readObject();
o1[0] += 5;
System.
out.
println((o1
==o2
)+":"+o1
[0]+" "+o2
[0]); }
{
Object o1
= ois.
readUnshared(); System.
out.
println("2回目のreadUnshared"); Object o2
= ois.
readUnshared(); }
}
}
aW1wb3J0IGphdmEuaW8uKjsKY2xhc3MgTWFpbnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBJT0V4Y2VwdGlvbiwgQ2xhc3NOb3RGb3VuZEV4Y2VwdGlvbnsKCQlCeXRlQXJyYXlPdXRwdXRTdHJlYW0gYm9zID0gbmV3IEJ5dGVBcnJheU91dHB1dFN0cmVhbSgpOwoJCU9iamVjdE91dHB1dFN0cmVhbSBvb3MgPSBuZXcgT2JqZWN0T3V0cHV0U3RyZWFtKGJvcyk7CgkJT2JqZWN0IG8gPSBuZXcgaW50W117MTB9OwoJCW9vcy53cml0ZU9iamVjdChvKTsKCQlvb3Mud3JpdGVPYmplY3Qobyk7CgkJewoJCQlCeXRlQXJyYXlJbnB1dFN0cmVhbSBiaXMgPSBuZXcgQnl0ZUFycmF5SW5wdXRTdHJlYW0oYm9zLnRvQnl0ZUFycmF5KCkpOwoJCQlPYmplY3RJbnB1dFN0cmVhbSBvaXMgPSBuZXcgT2JqZWN0SW5wdXRTdHJlYW0oYmlzKTsKCQkJaW50W10gbzEgPSAoaW50W10pb2lzLnJlYWRPYmplY3QoKTsKCQkJaW50W10gbzIgPSAoaW50W10pb2lzLnJlYWRPYmplY3QoKTsKCQkJbzFbMF0gKz0gNTsKCQkJU3lzdGVtLm91dC5wcmludGxuKChvMT09bzIpKyI6IitvMVswXSsiICIrbzJbMF0pOwoJCX0KCQl7CgkJCUJ5dGVBcnJheUlucHV0U3RyZWFtIGJpcyA9IG5ldyBCeXRlQXJyYXlJbnB1dFN0cmVhbShib3MudG9CeXRlQ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