The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Aug 21, 2004
Volatile: A variable is defined as volatile, when its value keep on changing frequently.Also its used in shared memory application.The volatile varaible cant be cached in a temporary register , so each time the the machine should go to the location & fetch the value of volatile.
transient: A variable which is the absent at the persistence state of the object is defined as transient type .
By P.Manivannan, Network Computing & System Engg Group, India.