CodeGym /Courses /Java Core /Useful links from the Professor — 20

Useful links from the Professor — 20

Java Core
Level 10 , Lesson 8
Available

"Hello, Professor!"

"Well, hello, Amigo! I'm very proud of you: a little more and half of your learning will be behind you. Don't be complacent with what you've achieved: the real fun starts now."

"A little more practice, and I'll definitely become a real programmer!"

"Let's add theory to your practice. I've prepared two detailed lessons for you on the material you've covered. I'm sure you'll learn a lot new."

Serialization and deserialization in Java

Programs are constantly interacting with each other. A byte format is used to conveniently transfer the data. To convert some Java object to a byte sequence and back, we use the processes of serialization and deserialization. This material examines these concepts again and reinforces them through practice.

Introducing the Externalizable interface

Serializable is not the only tool for serialization-deserialization in Java. In some cases, it's more appropriate to use a different tool — the Externalizable interface. Let's take a look at how it works and review some visual examples.

Comments (6)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
MaGaby2280 Level 41, Guatemala City, Guatemala
13 May 2020
Great links, but they really need to go in the begining of the lessons, so you can actually understand what you are supposed to do in the tasks! Read these links before you do the tasks!
fzw Level 41, West University Place, United States
14 April 2020
If we can override readObject and writeObject methods with Serializable interface, isn't this totally equivalent to using Externalizable interface?
Agent Smith Level 38
18 September 2020
I think the difference is in default constructor call.
Seb Level 41, Crefeld, Germany
4 February 2020
Haha, the Professor hits the nail on the head again: "Don't be complacent with what you've achieved: the real fun starts now."
26 September 2019
Finally! links that actually work
Satya Vath Level 31, Vijayawada, India
22 April 2019
I Think Professor Stopped Playing PUBG