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
What is singleton class and how can we make a class singleton?
Why does java does not support multiple inheritance? Explain
What does this mean java?
What are the benefits of java?
Name few java 8 annotations ?
What is static keyword?
Tell us something about set interface.
When object is created and destroyed?
Why should we use singleton pattern instead of static class?
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
Why chararray() is preferred over string to store the password?
Can constructor be protected in java?
Which api is provided by java for operations on set of objects?
What is difference overloading and overriding?
Can a class have a static inner class?