Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to prevent a field from serialization ?

Answers were Sorted based on User's Feedback



How to prevent a field from serialization ?..

Answer / ranganathkini

To prevent a field from being serialized, we have to mark it
with the "transient" keyword

Is This Answer Correct ?    13 Yes 0 No

How to prevent a field from serialization ?..

Answer / ravikiran(aptech mumbai)

by declaring the varable transient

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we write class inside a class in java?

0 Answers  


Explain about collection interface in java?

0 Answers  


Add a value x to array from index l to r where 0 <= l <= r <= n-1

0 Answers   Amazon,


what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0

2 Answers  


What is the difference between the synchronized() & static synchronized()?

2 Answers   HP, SparkTG,


Difference between JVM and JRE?

3 Answers   Amdocs,


What is a memory leak in java?

0 Answers  


In the below example, what will be the output?

0 Answers  


Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types

4 Answers   TCS,


What is collection class in java? List down its methods and interfaces.

0 Answers  


How do generics work?

0 Answers  


How do you execute a thread in java?

0 Answers  


Categories