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

Is array synchronized in java?

0 Answers  


Hi can u pls tell me what is the use of marker interface. Iknow what is marker interface but what ability will the object get by implementing this.

3 Answers   CGI,


What does || mean in code?

0 Answers  


What does super keyword do?

0 Answers  


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

0 Answers  


Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?

2 Answers   ADP,


Distinguish method overloading and overriding

2 Answers   Tech Mahindra,


Why there are some null interface in java? What does it mean?

0 Answers  


What happens if we override only equals?

0 Answers  


What is a protected method?

0 Answers  


Write a method that will remove given character from the string?

0 Answers  


there are some duplicate values in ArrayList, how U'll get that array with out duplicate?

4 Answers   CMC,


Categories