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

How many arguments can be passed to main ()?

761


Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

818


What is get () in java?

795


What are the important features of Java 9 release?

768


How do you get the length of a string in java?

755


What access modifiers can be used for methods?

847


What about main() method in java ?

781


Is list ordered in java?

794


How do you convert bytes to character in java?

753


What are benefits of java?

819


Write a function for palindrome and factorial and explain?

873


What is a map in java?

777


What is string english?

776


How do singleton patterns work?

749


What is a dot notation?

784