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 will happen if static modifier is removed from the signature of the main method?

970


What is indexof?

987


What does java stand for?

1125


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1161


What is the technique adopted to create an immutable class?

1115


How do you find the independent variable?

1055


What are the two types of streams offered by java 8?

926


What is split return?

1004


What is the difference between reader/writer and inputstream/output stream?

1084


Is 0 an irrational number?

1068


Is ++ operator thread-safe in java?

1188


When parseint method can be used?

953


Can I learn java in 3 months?

1025


Can you extend main method in java?

1185


What is integers and example?

992