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 is the latest java version?

1 Answers  


where final and static variable stored?

3 Answers  


How arrays are stored in memory in java?

1 Answers  


Is a boolean 1 bit?

1 Answers  


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

1 Answers   SAP Labs,


what is the difference b/w PUT and POST method to send data to the server

5 Answers   Mind Tree,


What is stack explain?

1 Answers  


Can we clone singleton object?

1 Answers  


what modifiers are used with top-level class?

2 Answers  


can we add two numbers without using arthematic operators? if possible how?

5 Answers   CTS,


IN java collections we have both interfaces and classes. instead of using interfaces why we can't use classes only like that why we can't use interfaces only. why we need two things interface and class.

6 Answers   Accenture, CTS,


How could Java classes direct program messages to the system console, but error messages, say to a file?

2 Answers  


Categories