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
Why do we need data structure in java?
What is mnemonic code?
Name four container classes.
Can vector have duplicates in java?
What is static synchronization?
Can we override private constructor in java?
What is a boolean field?
Can you override static methods?
What is general methodology?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
How to call one constructor from the other constructor ?
What is oop principle in java?
How do you detect memory leaks?
What things should be kept in mind while creating your own exceptions in java?
What are the differences between include directive and include action?