CodeGym /Courses /Java Core /Tasks about serialization and deserialization

Tasks about serialization and deserialization

Java Core
Level 10 , Lesson 7
Available
12
Task
Java Core, level 10, lesson 7
Locked
Externalizable for apartments
Externalizable for apartments
6
Task
Java Core, level 10, lesson 7
Locked
OutputToConsole
OutputToConsole
12
Task
Java Core, level 10, lesson 7
Locked
Externalizable Person
Externalizable Person
12
Task
Java Core, level 10, lesson 7
Locked
Serializable Solution
Serializable Solution
6
Task
Java Core, level 10, lesson 7
Locked
Overriding serialization
Overriding serialization
Comments (9)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Hoist Level 13, San Diego, United States
12 March 2025
Today is 12 March 2025, Wednesday, and the current temperature is 4 C
Justin Smith Level 41, Greenfield, USA, United States
18 November 2021
The thing that's fun about these tasks is knowing that we've largely obsoleted a lot of the previous tasks where we had to tediously parse files to identify and assign variables. Properties & Serializable FTW!
Petros Level 23, Columbia, United States
20 September 2020
Even these "easy" tasks are not easy because there's not much understanding, at least in my case.
Henrique Level 41, São Paulo, Brazil
8 July 2020
Hint: pay attention to the order of the objects in writeExternal and readExternal methods.
MaGaby2280 Level 41, Guatemala City, Guatemala
13 May 2020
Good tricky tasks!
JeRiF94 Level 22, Baku, Azerbaijan
12 October 2019
DONE!
季军 Level 38, Shanghai, China
5 August 2019
In "Externalizable Person": The readline() method is deprecated, so use read/writeUTF() instead
26 September 2019
or try <variableName> = (<variableType>) in.readObject(); worked for me
Ivan Duka Level 22, Winnipeg, Canada
25 April 2019
"Externalizable Person" hint: do not read/write any lines, that messes up the whole saving/loading process. Only objects and ints.