What is a serializable interface?

Answer Posted / sujanya

Serializable interface is a marker interface.This interface
is not having any methods,if u implement the serialization
to class ,then jvm will take care about the functionality.
when we are using the serialization is if u want to store
the data in persistent state.and u r passing the data
through the network then u must be use the srialization
intreface.
The process of writing the state of an object into a byte
stream is called serialization.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between numeric and integer?

509


Explain about static nested classes in java?

604


What is an example of a constant variable?

527


How do you achieve polymorphism in java?

519


What is the difference between iterator and enumeration ?

510






How many bits is a string?

523


What is the format specifier?

516


What does function identity () do?

515


What is bubble sorting in java?

591


Can an interface have a constructor?

511


What is balanced tree in java?

532


Why do we use predicate in java?

553


What is the basic concepts of OOPS?

684


Can a serialized object be transferred via network?

510


If we don’t want some of the fields not to serialize how to do that?

563