The String class and all the wrapper classes implements java.io.Serializable interface by default. Deserialization is the reverse operation of serialization.
Serialization in java is a mechanism of writing the state of an object into a byte stream.

Check out our website:

Follow Telusko on Twitter:

Follow on Facebook:
Telusko :
Navin Reddy :

Follow Navin Reddy on Instagram:

Subscribe to our other channel:
Navin Reddy :
Telusko Hindi :

Subscribe to the channel and learn Programming in easy way.

Java Tutorial for Beginners:

C Tutorial Playlist :

Android Tutorial for Beginners Playlist :

XML Tutorial :

Design Patterns in Java :

Socket Programming in Java :

Spring MVC Tutorial :

OpenShift Tutorial for Beginners :

Spring Framework with Maven :

Sql Tutorial for Beginners :

String Handling in Java :

Array in Java :

Java Servlet :

Exception Handling in Java :

Nguồn: https://dorifaucet.com/

Xem thêm bài viết khác: https://dorifaucet.com/cong-nghe/

45 Comments

  • Muskan Dahiya
    Posted July 5, 2020 9:21 pm

    He haven't closed the objectoutput stream

  • Kushal Upreti
    Posted July 5, 2020 9:21 pm

    You are a god.

  • Marisa G
    Posted July 5, 2020 9:21 pm

    your tutorial is class 😉

  • Mekings042
    Posted July 5, 2020 9:21 pm

    This is an amazing tutorial, exactly what I was looking for… thanks a lot bro

  • Mr. Marcial Glori
    Posted July 5, 2020 9:21 pm

    Is that sir updatable? Like mysql, excel , word ?

  • Satya S
    Posted July 5, 2020 9:21 pm

    the dumbest way someone could teach this nice concept, wasted 10 minutes

  • Govind Yatnalkar
    Posted July 5, 2020 9:21 pm

    You and Durga sir are wizards in JAVA!!!

  • yousra
    Posted July 5, 2020 9:21 pm

    Thankss!!

  • Slon Beskonechen
    Posted July 5, 2020 9:21 pm

    Awesome!!! Thank you!

  • Manav Malhotra
    Posted July 5, 2020 9:21 pm

    Why typevasting in save?

  • ajay speed
    Posted July 5, 2020 9:21 pm

    sir can we add more odjects?

  • sojoud jebreel
    Posted July 5, 2020 9:21 pm

    you have a very slow computer it gives me anxiety

  • Vladan Ulardzic
    Posted July 5, 2020 9:21 pm

    Well done ! Keep on.

  • Natsnet Tesfamariam
    Posted July 5, 2020 9:21 pm

    Thank you Telusko. You are really good teacher.
    I always see your tutorials.
    in this example are we saving the object over a network???????

  • władek eb110
    Posted July 5, 2020 9:21 pm

    chyba sam zaczne robić tutoriale, nie wyrabiam już z tym akcentem

  • anurag yadav
    Posted July 5, 2020 9:21 pm

    what will be the output if we store objects of multiple class in a file and retrive it.. ?

  • CHOY MUSIXX
    Posted July 5, 2020 9:21 pm

    The explanation is vague

  • Erik Ibarra
    Posted July 5, 2020 9:21 pm

    cricket lol can't get any more asian than that lol

  • Adil Saju
    Posted July 5, 2020 9:21 pm

    Awesome video man. Keep it up.

  • Sobha Edison
    Posted July 5, 2020 9:21 pm

    is there any way to append serialized objects to a file that is already exists? ie, appending objects to the object contents in that file

  • zbigniew463
    Posted July 5, 2020 9:21 pm

    I know that you love sound of your voice, but you do the presentation for me, so get to the point, and skip the hay.

  • Neeraj Kumar
    Posted July 5, 2020 9:21 pm

    Obj1=obj will not copy the values
    It will copy the reference of obj into obj1
    Clear your concepts first

  • Sahil Khotkar
    Posted July 5, 2020 9:21 pm

    Thanks,helped a lot

  • Ragavendra Vignesh
    Posted July 5, 2020 9:21 pm

    The default value for an object is null. But you are mentioning it as 0

  • Primaski
    Posted July 5, 2020 9:21 pm

    Thank youuuuuuuuu

  • rakshit ks
    Posted July 5, 2020 9:21 pm

    Exception in thread "main" java.lang.ClassCastException: java.base/java.lang.String cannot be cast to rak
    at Main.main(Main.java:23)
    help me out with @Telusko Learning

  • hwang clara
    Posted July 5, 2020 9:21 pm

    Can you please explain Serialization with static variables and transient? It will be better.

  • Slobodan Tajisic
    Posted July 5, 2020 9:21 pm

    It is strongly recommended that all serializable classes explicitly declare serialVersionUID values, since the default serialVersionUID computation is highly sensitive to class details that may vary depending on compiler implementations, and can thus result in unexpected InvalidClassExceptions during deserialization…

  • Karan Bir Sandhu
    Posted July 5, 2020 9:21 pm

    Sir serialization cocept is important ? because i cant understand it well and looks little difficult to me .please tell

  • Datson Yan
    Posted July 5, 2020 9:21 pm

    nicely explained.

  • dominic xavier
    Posted July 5, 2020 9:21 pm

    what is the diff b/w object serialization and object cloning?

  • MyTechWorld
    Posted July 5, 2020 9:21 pm

    great video! just what I was looking for

  • abd desd
    Posted July 5, 2020 9:21 pm

    can we you any marker interface interchangable ,for example instead of serializable can we use clonable interface is it posssible

  • ADDAGADA VENUBABU
    Posted July 5, 2020 9:21 pm

    Can you please explain about serialization version id it will be better.

  • Bruno Filgueiras
    Posted July 5, 2020 9:21 pm

    man, thanks for this material, the way you explained, the sequence of each idea was just perfect.

  • Aidan DiPeri Danielski
    Posted July 5, 2020 9:21 pm

    Don't you have to close these files?

  • Mohammed Viso
    Posted July 5, 2020 9:21 pm

    Great tutorial…….Thanks

  • Niall Scarlett
    Posted July 5, 2020 9:21 pm

    Thank you!

  • Anshu Yadav
    Posted July 5, 2020 9:21 pm

    program show unexpected output like "serialdemo@e9e54ce",serialdemo is name of my serializable class

  • Anshu Yadav
    Posted July 5, 2020 9:21 pm

    program show unexpected output like "serialdemo@e9e54ce",serialdemo is name of my serializable class

  • Anshu Yadav
    Posted July 5, 2020 9:21 pm

    program show unexpected output like "serialdemo@e9e54ce",serialdemo is name of my serializable class

  • Amir Golan
    Posted July 5, 2020 9:21 pm

    Thank you!

  • Cristian Manolachi
    Posted July 5, 2020 9:21 pm

    Hello i did a game in gameguru but i can*t save it.How can i do a savegame file becasue there are not a fucntion to save the file

  • Ramadevi vakkalanka
    Posted July 5, 2020 9:21 pm

    Nice workdone .. Thank you…

  • Siddhartha Pasumarthi
    Posted July 5, 2020 9:21 pm

    Thanks a lot dude

Leave a comment