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 is array length?

1021


Is java call by reference?

1023


Explain the access modifiers for a class, method and variables?

1186


What is byte [] in java?

1074


Which is a valid identifier?

1301


What is map and hashmap in java?

1122


Can we create more than one object singleton class?

1108


What are decalarations?

1180


How will you reverse a link list without using recursion?

1084


What’s the difference between the methods sleep() and wait()?

1069


Can we declare array without size in java?

1082


If a class is declared without any access modifiers, where can the class be accessed?

1109


Difference between static binding and dynamic binding?

1184


Is binary a low level language?

965


what invokes a threads run() method? : Java thread

1062