Why is serialization required?



Why is serialization required?..

Answer / Bhanupriya Singh

Serialization is required in Java to convert an object's state into a byte stream. This allows for the object to be transmitted over a network or stored in a file, preserving its state for later use.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is singleton class?

16 Answers   3i Infotech, 7 Seas, ABC, Amdocs, Cap Gemini, Oracle, Persistent, TCS, Techforza,


What are the ways to instantiate the class class?

1 Answers  


Why hashset is used in java?

1 Answers  


What is a treeset class?

1 Answers  


why do we use interface in java?

5 Answers  


What types of inheritance does Java support?

2 Answers  


what are the methods in object?

1 Answers   IBS,


In the below example, what will be the output?

1 Answers  


Why charat is used in java?

1 Answers  


What is the main functionality of Prepared Statement?

4 Answers  


Difference between a process and a program?

1 Answers   Infosys,


What technique is carried out to find out if a particular string is empty?

1 Answers  


Categories