Answer Posted / deepak divvela
1.transient variables can not be serialized.
2.volatile variables may change with the affect of other one
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is a class object?
Is java a security risk?
What is var keyword ?
What is the use of singleton?
How do singleton patterns work?
explain the difference between jdk and jvm?
What is an example of declaration?
How does multithreading take place on a computer with a single cpu?
What is sleep method?
Explain wait() method of object class ?
What is treeset in java collection?
Can constructor be static or final?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What is the difference between processes and threads?
explain different ways of using thread? : Java thread