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 is Transient and volatile

Answer Posted / lakshmidontukurthy

Trying to put a non-serializable variable in a
seriealisible class,we can use transient modifier ,so that
the jvm skips the transient variable ,and make that class
as serializable class

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of sizeof operator?

976


Write a code to show a static variable?

1030


What is the similarity between dynamic binding and linking?

1054


What is meant by object?

961


what do you mean by classloader?

1019


What are different types of expressions?

1044


What is lazy initialization in java?

937


If a class is declared without any access modifiers, where can the class be accessed?

1004


What is the difference between a synchronized method and a synchronized block?

1014


What is difference between path and classpath variables?

1029


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

988


What are the restrictions imposed by a Security Manager on Applets?.

2552


What are the data types supported by java? What is autoboxing and unboxing?

932


Can a class have more than one object?

935


What is a lock or purpose of locks in java?

971