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 |
Can an interface be final?
What are the uses of synchronized keyword?
How do you remove all elements from an arraylist in java?
if a java file without any source code is valid java file?
What is the difference between arraylist and hashset in java?
Write a program to find the whether a number is an Armstrong number or not?
what is instanceof operator used in java?
What about main thread in java?
How are multiple inheritances done in Java?
Can you give names of Container classes?
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?
Discuss different types of errors that generally occur while programming.