How to Serialize Multiple and DIFFERENT Types of Objects in Java

preview_player
Показать описание
Follow this tutorial along to learn Java Serialization for Multiple AND Different Types of Objects. We'll teach you how to write a whole bunch of different object and data types into the same file. Our example will write strings, integers, arrays of objects and arrays of arrays of objects, and then read them back in (deserialization).

Code and program outline on github:
Рекомендации по теме
Комментарии
Автор

The most helpful tutorial for this matter out of the many, many videos I've watched. Thank you!

emmeeeee
Автор

This was by far one of the best tutorials I've seen it was complex enough to really provide and example but not overwhelm the viewer. I hope you keep uploading tutorials you are good at explaining and showing at the same time what you are doing.

victoriaziranda
Автор

How is that your channel is not so active? This is like one of the awesome videos that you can find on YT!

arunraju
Автор

This video has so much great information in addition to learning about serialization. Wish you'd make more.

Channel-iude
Автор

Great combination of knowledge (Classes, arrays, arraylist plus serialization): a complex program made simple. Very useful for me. Great job!

asniceful
Автор

This was really helpful and nice to watch. I liked the level of complexity and how you explained it, really well done!

Bleilo
Автор

Absolutely well done!!! Not sure if it will help solve my issue, but well done is well done.

mimimalignant
Автор

Exactly what I was looking for! You are awesome!!!

kingmason
Автор

You are the Very Best! Thank You so much. You saved me.

MUSICA
Автор

25:33 THIS IS THE PART WHERE SHE STARTS WRITING AND WORKING ON FILES.

raycoustum
Автор

thank you so much for this, helped a lot!

TRiiCKSTA
Автор

Nice video. What if you want to modify the ArrayList element?

namanvohra
Автор

Hi, Great do some more tutorials, waiting for your gaming programmings.Please zoom in your screen more in your next tutorials! thanks, Love you.

keviniuterhujah
Автор

Hello, So i've been trying to make a program that reads each line of a file and store it into an ArrayList then serialize each line by line and save it. and load it & print everything as it has always been but I found a hard time doing it. Not gonna lie I'm kinda bad with ArrayLists aswell but what should I do ?

MrPokerGaming
Автор

Hey guys,

I am creating a pizza delivery program in Java that uses a GUI. I was wondering if there is a way to save the current state of the application once I shut the system so when I start the application again I can start from where I left of?

For example if a pizza is getting delivered and I shut the application I want to be able to start the application and the delivery still being in the process of being delivered if that makes sense this would be displayed in a JTable i.e order ID, Delivered?
What would the best approach be for this? Would serializing be best for this?

Is there any way of doing this and if so can someone please explain or point me in the right direction.

Thank you

huzynain
Автор

Hey Karleen, thanks for the tutorial.
It seems you have self humor,
so, it's perfect almost as an Indian tutorial ;)
I"m kidding
Blessings from HolyLand :)

tzahishani
Автор

thank you so much for helpful video but i still need to watch it again because its too high lv for me

longhuynh
Автор

First: Very good explanation of your work. I practice your tutorial and try to extend it. I try to write a file in append mode but I had trouble when I tried to read (deserialization). I can read only what I save (serialize) first time. Sure, exist a solution but I dont find. If possible help me !. Thank you
I used an ArrayList <class>

gabone
join shbcf.ru