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 latest java version?
where final and static variable stored?
How arrays are stored in memory in java?
Is a boolean 1 bit?
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application
what is the difference b/w PUT and POST method to send data to the server
What is stack explain?
Can we clone singleton object?
what modifiers are used with top-level class?
can we add two numbers without using arthematic operators? if possible how?
IN java collections we have both interfaces and classes. instead of using interfaces why we can't use classes only like that why we can't use interfaces only. why we need two things interface and class.
How could Java classes direct program messages to the system console, but error messages, say to a file?