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 a parameter example?
Are registers volatile?
Explain the difference between collection api and stream api in java8?
What are scalar data types?
Explain java thread life cycle.
Explain about sets?
What is the relationship between clipping and repainting under awt?
what is the difference between Object Based Language and Object Oriented Language?
What is the difference between choice and list?
Why are the destructors for base class and derived class called in reverse order when the program exits
What is the char data type?
What do you mean by Hash Map and Hash Table?
What is finally block?
What are the pillars of java?
What is the ==?