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

What is the exact difference in between Unicast and Multicast object? Where will it be used?

1051


What do you understand by the term string pool?

1000


What are different data structures in java?

1037


Can we rethrow the same exception from catch handler?

1116


What is the access scope of a protected method?

1023


What is public/private protected in java?

1041


Is 64bit faster than 32 bit?

1068


What are basic data types?

1091


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1163


Why are the methods of the math class static?

1070


Define array. Tell me about 2-D array.

1047


Does printwriter create a file?

955


What are access specifiers in java ?

1134


Where is core java used?

1008


What are the features of junit?

1041