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
What is the purpose of the strictfp keyword?
What does this () mean in java?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What does a boolean method return?
What is fundamental datatype?
How do you compare arrays in java?
How many unicode characters are there?
Explain java thread life cycle.
What is use of static method?
Write code of any action class?
Explain the difference between an Interface and an Abstract class?
What do you understand by synchronization?
Define canvas?
What is meant by 'Class access modifiers'?
What is the diffrence between inner class and nested class?