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 |
Is there any case when finally will not be executed?
Why stringbuffer is faster than string?
What is the difference between size and length in java?
How do you use, call, and access a static method in Java?
How do you use spaces in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
how to handle a singleton service locator. when multiple threads are trying to get the singleton object in same time
How to store image in arraylist in java?
What is the impact of declaring a method as final?
What is multi-catch block in java?
Can we split string with in java?
What is meant by final class, methods and variables?