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 |
Why cant we define System.out.println() inside a class directly?
When super keyword is used?
What is constructor and virtual function? Can we call a virtual function in a constructor?
Can we define a package statement after the import statement in java?
what are depricated methods in threads and explain the lifecycle methods
How to restrict a member of a class from inheriting by its sub classes?
Can we place the any object to key attribute of HashMap<key,value>?
Can java hashmap have duplicate keys?
how can i cal servlet from jsp page?how can i pass variablesfrom the jsp that servlet can access?
Is JRE required to compile Java files ?
what is the difference between Object Based Language and Object Oriented Language?
Give an example of use of pointers in java class.