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

Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

0 Answers  


What is an immutable object? How do you create one in java?

0 Answers  


Which is best ide for java?

0 Answers  


What is Java Shutdown Hook?

0 Answers  


What is tochararray in java?

0 Answers  


What is a condition in java?

0 Answers  


State the significance of public, private, protected class?

0 Answers  


Mention some interfaces implemented by linked list in java.

0 Answers  


If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?

5 Answers   KPIT,


What is boolean false?

0 Answers  


What is OOPs & Why?

3 Answers  


What is immutability in java?

0 Answers  


Categories