What is a serializable interface?
Answers were Sorted based on User's Feedback
Answer / 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 |
Serializable interface is useful if you want to save the
state of a profram to a persistant storage area like file
or database.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
serializable interface will allow the process of
serialization to save the object in outputstream
| Is This Answer Correct ? | 0 Yes | 0 No |
ravikiran i think ur are getting wrong
is file is output stream i don't think so please checkit
out then some dont this enormous
without serializatio i will do safe object in outputstream
man think it ,because of ur think of seralization
i know dataoutputstream and objectoutputstream just help to
makeit possible not they are going to save its my pointof
view
without outputstream i will show u save the object in
outpurstream not in a file because u just not going to save
state of particular just going to save object think it
always some bookwriter in not true ha
amitsing2008@gmail.com mca(scjp1.5)an many more so
justthink it
| Is This Answer Correct ? | 0 Yes | 0 No |
What is hotjava?
What are the types of inner classes (non-static nested class) used in java?
What does sprintf return?
what is the use/perpose of having a method antive?
How to sort an array in java without using sort method?
What is the use of default method in interface in java?
What is finally in Java?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
What is the difference between a switch statement and an if statement?
Write a java program to count the number of words present in a string?
what is aberivation of java?
What is data movement?