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

What is singleton class and how can we make a class singleton?

872


Why does java does not support multiple inheritance? Explain

745


What does this mean java?

790


What are the benefits of java?

787


Name few java 8 annotations ?

795


What is static keyword?

788


Tell us something about set interface.

769


When object is created and destroyed?

834


Why should we use singleton pattern instead of static class?

717


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

806


Why chararray() is preferred over string to store the password?

764


Can constructor be protected in java?

729


Which api is provided by java for operations on set of objects?

1195


What is difference overloading and overriding?

811


Can a class have a static inner class?

821