I dont want to use serialzable in java is there any another
concept
so plz tell me

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is :: operator in java?

511


Can we create our own daemon thread?

544


Is java free for businesses?

589


Explain about doubly linked list

621


What is indexof in java?

519






Difference between string, stringbuffer and stringbuilder?

567


What kind of variables a class can consist of?

637


Java is Pass by Value or Pass by Reference?

622


What is procedure overloading?

1802


How do you remove duplicates in java?

528


Give some features of interface?

586


If a class is declared without any access modifiers, where may the class be accessed in java programming?

659


What is java volatile?

545


What is abstract class constructor called?

571


How to use string tokenizer class.

622