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

What is the size of boolean variable?

1024


Explain method local inner classes ?

968


What is meant by object oriented programming – oop?

919


Explain the difference between an Interface and an Abstract class?

1112


Should a main method be compulsorily declared in all java classes?

995


Does treeset allow null in java?

906


Explain the features of interfaces in java?

924


How do you use parseint in java?

935


What is the difference between access specifiers and access modifiers in java? 16

953


What is difference between fileinputstream and filereader in java?

985


What are the 5 types of research methods?

1082


Can we write class inside a class in java?

919


How do you remove an object from an arraylist in java?

903


What is difference between string and new string?

970


List out five keywords related to exception handling ?

951