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

Explain different types of wrapper classes in java?

0 Answers  


Do I need java for windows 10?

0 Answers  


Which arithmetic operations can result in the throwing of an arithmeticexception?

0 Answers  


When should a function throw an exception?

0 Answers   Thomson Reuters, Virtusa,


What are the restrictions imposed on method overriding?

0 Answers  






primitive data types in Java ?

3 Answers  


What is parameter example?

0 Answers  


How does java pattern compile work?

0 Answers  


Explain the purpose of garbage collection in Java?

0 Answers   BirlaSoft,


wat is class level lock and object level lock

3 Answers   HCL, Persistent,


What is a compilation unit?

2 Answers  


Explain tree set and its features?

0 Answers  


Categories