Explanation: x = ois.readInt(); will try to read an integer value from the stream ‘serial’ created before, since stream contains an object of Myclass hence error will occur and it will be catched by catch printing deserialization.
מיין לפי
Manuel Ruffieux0 נקודות ·
יותר מ-6 חודשים
( תגובות)