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

What happens if a constructor is declared private?

0 Answers  


Which is the best sorting technique in java?

0 Answers  


What are the topics in core java?

0 Answers  


what is meant by abstract class?

0 Answers   Aspire,


In Inheritence concept, i have a static method in super class and i am inheriting that class to one sub class.in that case the static method is inherited to sub class or not????

12 Answers   Accenture,






Is string is a class in java?

0 Answers  


What is the root class for all Java classes?

8 Answers   IBM, Infosys,


What is the use of string and stringbuffer?

0 Answers  


What is boolean logic?

0 Answers  


What is hard code & soft code?

7 Answers   Cognizant, Wipro,


How can we create a thread in java?

0 Answers  


Difference between this() and super() ?

0 Answers  


Categories