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 data type in computer?

922


Why volatile is used in java?

998


what is the difference between yielding and sleeping? : Java thread

912


What does the @override annotation do?

988


What is difference between final and finally in java?

1038


Can you give few examples of final classes defined in java api?

961


What is multithreading and its advantages?

1021


Is string pool garbage collected?

955


What does sprintf return?

1017


How is java created?

898


Explain wait(), notify() and notifyall() methods of object class ?

990


Explain about core java?

1069


What is a constructor, constructor overloading in java?

971


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

933


What is scope & storage allocation of static, local and register variables? Explain with an example.

969