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
In the below example, how many string objects are created?
What is the use of volatile in java?
Difference between string, stringbuffer and stringbuilder?
What is a static class in java?
What is an empty string in css?
Can we write a class without main method in java?
Describe what a thread-local variable is in java?
What is arrays fill in java?
What are the advantages of java inner classes?
Difference difference paint() and paintcomponent()?
What do you understand by the term singleton?
What is the meaning of I ++ in java?
what is a working thread? : Java thread
What is default exception handling in java?
What is string array?