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



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

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

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

Answer / haneef

using annatations it is possible

Is This Answer Correct ?    0 Yes 0 No

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

Answer / guest

use the keyword transient...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Does sprintf allocate memory?

0 Answers  


Why we go for collections in java?

0 Answers  


How many types of design patterns are there?

0 Answers  


What does pointer mean?

0 Answers  


What are the advantages and disadvantages of object cloning?

0 Answers  






What is instance synchronization?

0 Answers  


Why is stringbuffer faster than string?

0 Answers  


what do you meant by Platform-Independent?

6 Answers   Persistent,


when to use abstract class and when to use interface?

16 Answers   Exterro, iGate, IonIdea,


What is the difference between multitasking and multithreading in Java

0 Answers   Sans Pareil IT Services,


What is advantage of java?

0 Answers  


How many types of equations are there?

0 Answers  


Categories