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

In Serialization, whether you will use Static variables?

Answer Posted / ranganathkini

Static variables are not serialized during object serialization.

If u want to serialize static fields, then u must use ur own
serialization overrides and implement the
java.io.Externalizable interface on the class.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between stringbuffer and stringbuilder class?

1034


What is an object class?

961


Which is better list or arraylist in java?

808


What is hash in java?

900


Is a char always 1 byte?

931


What about member inner classes?

1038


What is number data type?

968


What is java dot?

886


What are the four corner stones of oop?

976


Is singleton class thread safe?

950


What is the return type of the main method?

983


Define how does a try statement determine which catch clause should be used to handle an exception?

1065


Can I uninstall java?

977


What is the difference between a local variable and an instance variable?

1016


What is heterogeneous in java?

900