DIFFERENT ways to create an OBJECT in JAVA || Part 5 || deserialization in java || readObject()

preview_player
Показать описание
this video covers how to create an object in java by using deserialization in java. We will see a complete example of serialization and deserialization process throughout this tutorial and we are going
to keep our tutorial short as we are only covering 'different ways to create an object in java”.

few things to remember :

To make your classes eligible for serialization make sure your classes implements serializable interface.
To write serialize object to your file use writeObject and use readObject method during deserialization to get your object back.
no constructor get called while we deserialize an object.

Access the complete series of tutorials for "different ways to create an object in java” by the link below.

follow us on facebook:

Music :
-----------
credits : -

Creative Commons — Attribution 3.0 Unported— CC BY 3.0

music 2 :

-----

template :
Рекомендации по теме
Комментарии
Автор

Hi Abhilash, I've seen all five videos on object creation. All 5 videos were much informative that to 4 and 5th have the good and nice explanation. Your way of approach in the videos is very friendly and live.

balanssocial
Автор

really appreaciate the effort for presenting such informative vedios!

adithk.v
Автор

you are awsome bro create more rare tutorials like this.

praneetsingh
Автор

Thankyou Abhilash, really helpful your videos

vijayr
Автор

Yes Bro nice videos u have uploaded. please upload related how many ways we can achieve thread-safety.

pankajkm
Автор

In the article you mentioned. Deserialization method of crating object doesn’t invoke constructor, but to call the deserialized object, first we have to serialize the object which invokes the constructor. So indirectly we are calling constructor.

ramkrishnach
Автор

Hi I didnot understand the use of text.txt.. what was inside this text file ? we used it as an input stream. sorry for this dumb question, if it was too obvious!

rajsharma
Автор

thank you so much sir,
one more que i want to ask you
what is marker interface in java ?

shrikantpradhan
Автор

Hi Abhilash, Thanks for the video.I have question for you. What is readResolve() method. I have seen this method using in Serialization. Could you please tell me the difference between using readResolve() and readObject() or tell me when to use over other?

naveenkumarmaddala
welcome to shbcf.ru