adspace


Why is serialization required?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between break and continue statements?

1131


How to create a base64 decoder in java8?

1145


Differentiate between static and non-static methods in java.

1132


What is a constructor overloading in java?

1131


What is an object in java and how is it created?

1147


What is java string pool?

1088


Write a program to find the whether a number is an Armstrong number or not?

1107


What is a classloader in java?

1097


What is parsing in java?

1047


Write a program to print count of empty strings in java 8?

1092


How to sort array in descending order in java?

999


What is the difference between equals() and == in java?

1047


Is minecraft 1.15 out?

1050


Realized?

2273


What are the differences between heap and stack memory in java?

1151