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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is immutable class in java?

949


how does multithreading take place on a computer with a single cpu? : Java thread

1154


Can we have any other return type than void for main method?

957


How can we pass argument to a function by reference instead of pass by value?

1111


What is oop in java?

1072


What is the difference between the direct buffer and non-direct buffer in java?

1033


What about main() method in java ?

1027


what do you mean by classloader in java?

1028


What is the final variable?

1249


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1138


Can a static class have a constructor java?

992


What is treemap in java?

950


What's the access scope of protected access specifier?

1041


What happens if I remove static from main method?

1010


What access modifiers can be used for variables?

1151