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 |
How is java created?
What is arraylist class in java?
What is double in java?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 Answers Infinite Computer Solutions, TCS,
What is r * in math?
How to count occurrences of each duplicate element in a list {a,b,d,c,a,b} ? Thanks in Advance
Different types of modifiers?
How are observer and observable used in java programming?
What is the maximum size of hashmap in java?
What is split return?
Define how destructors are defined in java?
What is collection api?