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?

Answers were Sorted based on User's Feedback



In Serialization, whether you will use Static variables?..

Answer / chandramouli

We cannot serialize the static variables because static is
specific to the class not for the objects.

Is This Answer Correct ?    9 Yes 0 No

In Serialization, whether you will use Static variables?..

Answer / 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

In Serialization, whether you will use Static variables?..

Answer / krishna

We cannot serialize the static variables

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is meaning of JIT?

4 Answers  


Describe what a thread-local variable is in java?

0 Answers  


What does it mean that strings are immutable?

0 Answers  


What is Vector?Can you elaborate how Vector is Thread safe?

3 Answers   HCL,


Can a abstract class be defined without any abstract methods?

0 Answers  


What is the difference between Stream Reader and Stream Writer?

4 Answers  


What is nextint java?

0 Answers  


Name the types of 'priority'?

2 Answers  


why is S capital in System.out.println ????

6 Answers  


What is the immediate superclass of the Dialog class?

2 Answers  


what is difference between interface and abstract class..?

4 Answers  


What is method Overriding in the perspective of OOPS?

4 Answers   TCS,


Categories