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 variable?

Answers were Sorted based on User's Feedback



what is transient variable?..

Answer / devender

A variable that can't be serialized .

Is This Answer Correct ?    7 Yes 0 No

what is transient variable?..

Answer / p.a.v.k.prasad

Transient variable is an variable, that can't be stored in permanent(hard disk)
Ex:-
int a=10; // it is permenently stored in hard disk

transient String password; //it is not persisted

if u create a Student class and it contains Sno,SName,Marks;
u don't want to serilize the marks. then use Transient to that field.

In real time transient varibles are used banking application
because never stored account holder passwords.

Is This Answer Correct ?    4 Yes 0 No

what is transient variable?..

Answer / srinu

suppose A varible never participate in serilization process
that varible declared as a keyword transient.

Ex:- transient String password;

In real time transient varibles are used banking application
because never stored account holder passwords.

Is This Answer Correct ?    4 Yes 1 No

what is transient variable?..

Answer / prasad

Transient variable is a variable that can't serializable

Is This Answer Correct ?    2 Yes 1 No

what is transient variable?..

Answer / mithun ray

Transient variable is a variable that can't
serializable,means if you dont want to parsistent any object
or part of an object you can use transient object.

Ex:- transient String password;

In real time transient varibles are used banking application
because never stored account holder passwords.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Java Related AllOther Interview Questions

What is a cookie in java?

0 Answers  


What is map and flatmap?

0 Answers  


In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.

0 Answers   NCR,


How can one prove that the array is not null but empty?

0 Answers  


What is a uint8?

0 Answers  


What is a singleton in java?

0 Answers  


What is java bean class?

0 Answers  


Is java a framework?

0 Answers  


what is meant by Encapsulation?Explain with an example?

4 Answers  


Where is singleton design pattern used in java?

0 Answers  


What is the java virtual machine (jvm)?

0 Answers  


What kind of thread is the garbage collector thread?

0 Answers  


Categories