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...

what is a transient variable?

Answer Posted / debapriya patra

When ever we don't want to serialize a variable , we specify
that variable as transient.So that its not be serialized.And
when we de serialize the value we get the default value of
that variable.

And only we mentioned the variables as transient.

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How thread scheduler schedule the task?

1003


What is the difference between @before and @beforeclass annotation?

1012


What is role of void keyword in declaring functions?

991


What are adapter classes?

976


Why singleton pattern is better than creating singleton class with static instance?

950


What is default constructors?

935


What is meant by local variable and instance variable?

978


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

954


Is a boolean 1 bit?

1003


Is it possible to override the main method?

926


What does arrays sort do in java?

957


When a byte datatype is used?

2036


Explain polymorphism citing an example.

996


what is the difference between thread and runnable types? : Java thread

947


What is exception handling in java?

977