Why transient variables wont participate in serialization?

Answer Posted / krishna

transient variables allocates memory inside the object

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get 64 bit java?

516


Can variables be used in java without initialization?

546


why would you use a synchronized block vs. Synchronized method? : Java thread

528


What is io stream in java?

509


What is the simpletimezone class in java programming?

532






How many java versions are there?

556


What is the difference between C++ and Java and your preferences?

599


difference between byte stream class and character stream class?

4075


Does java have extension methods?

519


Can we initialize the final blank variable?

577


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

600


What is meant by data hiding in java?

632


What is join () in java?

524


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

555


What's the base class of all exception classes?

559