I dont want to use serialzable in java is there any another
concept
so plz tell me
Answer Posted / niraj deshmukh
Java provides Serialzable Interface to persist the object
state in distributed enviroment (if wanted to transfer the
over wire).
for e.g :
class persist implements Serializable {
// object's state needs to persist
private String state;
.
.
}
There is another way to achieve this behavior using
"Externalizable" interface. By implementing this, developer
can customized the serializable process.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
I want to persist data of objects for later use. What is the best approach to do so?
How many functional interfaces does java 8 have?
What is entry in java?
What is final?
What are the topics in core java?
What is the main purpose of java?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
Can we extend a class with private constructor?
What is jagged array in java?
Difference difference paint() and paintcomponent()?
What do you mean by ordered and sorted in collections in java?
What is basic syntax?
What is a numeric literal?
What are different types of states exist for a thread?
What is scanner in java?