What is serializable interface?
Answers were Sorted based on User's Feedback
Answer / manish mathur
Serializable interface is used to create classes which
enable the transfer of any binary object over a
communication channel by transferring all the data of the
object in a byte by byte manner.
| Is This Answer Correct ? | 94 Yes | 11 No |
Answer / ravikiran(aptech mumbai)
serializable interface is a marker interface which has no
methods at all
| Is This Answer Correct ? | 64 Yes | 8 No |
Answer / manish mathur(a3logics ,jaipur
Serialization is the process of writing complete state of
java object into output stream, that stream can be file or
byte array or stream associated with TCP/IP socket.
| Is This Answer Correct ? | 41 Yes | 11 No |
Answer / prakash
serialization is the interface that convert object into byte
stream. and this objects saved to local discs by
ObjectOutputStream and ObjectInputStream.and this Object can
be send over the network.
| Is This Answer Correct ? | 23 Yes | 8 No |
Answer / narendravarma mallapuraju
Serializable interface is implemented by a class ,whose
objects state can be saved into any outputstream .This is
mainly useful in RMI[Remote Method Invocation] .
| Is This Answer Correct ? | 19 Yes | 8 No |
Answer / murugan
serialization is the interface, which is used to serialize
(convert object into byte )the object, we can use this in
the situation for result pass over to any medium like
output stream,writer,bytearrayouputstream (and also persist
into stable storage).
| Is This Answer Correct ? | 16 Yes | 6 No |
Answer / atul singhal
Serializable is an Interface, which is used to convert an
object into byte, whose objects state can be saved into any
local disc by ObjectOutputStream and ObjectInputStream.
This byte form of an object will used to transfer over the
Network. This is mainly used in RMI.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / pankaj
when we are supposed to convert our object in to byte form
to save in some location and then use on a network.
| Is This Answer Correct ? | 10 Yes | 6 No |
Answer / kanhaiya kumar
It save the state of the object in persistent(where we can
save data without Database. like- disc or pen drive etc..)
area..
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the concepts of 'OOPS'?
explain the difference between jdk and jvm?
What is initial size of arraylist in java?
Can we assign null to double in java?
What 5 doubled?
Why main function is static?
What is use of static in java?
What is the preferred size of a component in java programming?
Can each java object keep track of all the threads that want to exclusively access it?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
Difference between comparator and comparable in java?
How to check if a list is sorted in java?