Where transient variable stored?

Showing Answers 1 - 4 of 4 Answers

Annapareddy SrinivasRao

  • Aug 18th, 2006
 

hi all!

Traisent variable are used as temporary variable and these variable are not stored in permanent storage....

may these variable are temporarly stored in RAM .

Comments are invited for these

  Was this answer useful?  Yes

Abhijit

  • Sep 7th, 2006
 

Hi,

Up to my understanding transient varibales can't be stored.

I think you ment that where the memory will be allocated ?

Then in that case i feel its heap.

please correct me i  am wrong.

Regards,

Abhijit

  Was this answer useful?  Yes

abhip143

  • Sep 7th, 2006
 

Up to my understanding transient variables not stored anywhere you can?t store them.

 

I think you meant to say where the memory will be allocated?

In that case I think its heap correct me if I am wrong.

 

  Was this answer useful?  Yes

Naik

  • Sep 14th, 2006
 

transient indicates that when the object is serialised ignore this variable.. and when variable is initialised to its default value when object is deserialised

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions