What is Transient and volatile

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


Please Help Members By Posting Answers For Below Questions

What are the rules for variable declaration?

505


Explain about fail safe iterators in java?

568


What is jdbc api?

541


Why pass by reference is not possible in java?

500


Why do we need variables?

531






Can we sort array in java?

531


What is class forname used for?

542


What is an example of declaration?

526


How to compare two strings in java program?

675


What is multiple inheritance? Is it supported by java?

528


What is singletonlist in java?

509


Explain the key functions of data binding?

583


What are the features in java?

578


How many days will it take to learn java?

519


Why java is object oriented?

592