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

why to use transient variables when static variables can be
used for Serialization

Answer Posted / priyanjan

static variables can also serialized but is a very
cumbersome process. Transient keyword prefixing any
variable states that the varible does serialized but its
state i.e. value of the varible, does not serialize.

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by local variable and instance variable?

939


What do you know about the garbate collector?

1012


What is an eror in java?

1041


What is a predicate method?

1007


What is a percentage sign called?

1113


What are peerless components?

1079


What is java volatile?

1032


What is the base class in java from which all classes are derived?

965


Explain jdk, jre and jvm?

963


What are the methods of object class ?

1047


What is a stringbuilder?

903


What are controls and their different types in awt?

1079


Why is java called the platform independent programming language?

1001


Mention some interfaces implemented by linked list in java.

1013


What is the relationship between class and object?

1027