I dont want to use serialzable in java is there any another
concept
so plz tell me
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the difference between a choice and a list?
why doesn't java run on all platforms?
Is there any difference between nested classes and inner classes?
What is the purpose of nested class in java?
Why main method is static in java?
What is the difference between throw and throws in java?
What is the difference between keyword and identifier?
What are streams in java 8?
What is the difference between a constructor and a method?
Describe method overriding
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
What will happen if we write code like: try{}catch(exception e)catch(IOException i)