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 |
Hey buddy.. can you please tell me about the use of marker interface? And is there any link between marker interface and factory methods? Thanks in advance.
What is the protected method modifier?
What is difference between string and new string?
What is :: operator in java?
What is static class
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
Can memory leak in java?
Explain about map interface in java?
How do you convert bytes to character in java?
Explain about procedural programming language or structured programming language and its features?
Can I import same package/class twice?
In which language JVM (Java Virtual Machine) is implemented