Answer Posted / ravikiran
Transient variable is used to make the variable out of
synchronization.
Volatile variable is used when the variable is changing
it's state continuously
| Is This Answer Correct ? | 1 Yes | 11 No |
Post New Answer View All Answers
What is the difference between comparison done by equals method and == operator?
Is java a prime method?
What is bytecode in java ?
Can list contain null in java?
What is the purpose of a volatile variable?
What is t type java?
what are the states associated in the thread? : Java thread
Does java initialize arrays to zero?
Why is a singleton bad?
What data type is string java?
Is 0 true or is 1 true?
What is string and example?
What is static method with example?
What are three ways in which a thread can enter the waiting state in java programming?
What is array and arraylist in java?