Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are Transient and Volatile Modifiers?

Answer Posted / janet

Transient: The transient modifier applies to variable only
and it is not stored as part of it's objects persistent
state.Transient variables are not serialized.
Volatile: Volatile modifier applies to variables only and
it tells the compiler that the variable modified by
volatile can be changed unexpectedly by other parts of the
program.

Is This Answer Correct ?    22 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is arraylist zero based?

1073


Why are there no global variables in java?

1044


Explain jdk, jre and jvm?

976


Difference between this() and super() in java ?

1085


What is java util list?

962


How do you add an element to a set in java?

1038


What is a layout manager and what are different types of layout managers available in java awt?

1246


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

2106


Is age a discrete variable?

977


Why we do exception handling in java and how many types of exceptions are there?

1127


What is the difference between a break statement and a continue statement?

1040


Is ++ operator thread-safe in java?

1189


what do you mean by classloader in java?

1028


How java enabled high performance?

1062


What is meant by oops concept in java?

998