What is a Presistent, Transient Object?

Showing Answers 1 - 4 of 4 Answers

DEEPAK KUMAR MAHAPATRA(TCS KOCHI)

  • Nov 22nd, 2006
 

TRANSIENT OBJECTS ARE TEMPERORY IN NATURE.OBJECT WHICH IS PERMENT IN NATURE TILL THE END OF THE PROGRAM OR REMAIN ACTIVE UNTIL THE ACCIDENTAL TERMINATION OF THE PROGRAM IS CALLED AS A PERSISTENT OBJECT.ON THE OTHERHAND REST NATURE OF THE OBJECT TYPE IS CALLED AND TRANSIENT OBJECT.

DEEPAK KUMAR MAHAPATRA (TCS KOCHI)

  Was this answer useful?  Yes

Mamta Chaplot

  • May 21st, 2007
 

Transient object:They can't be serialized, its value is not persistent and stored in heap

Persistent Object:They can be serialized, its value is persistent as name implies and stored in memory.

  Was this answer useful?  Yes

pavanhiran

  • Jan 26th, 2008
 

HERE IS ANSWER FOR YOUR QUESTION:

TRANSIENT OBJECTS ARE TEMPERORY IN NATURE. ALSO THEY CANT BE SERIALISED UNLIKE PERSISTENT OBJECTS. OBJECT WHICH IS PERMENT IN NATURE TILL THE END OF THE PROGRAM OR REMAIN ACTIVE UNTIL THE ACCIDENTAL TERMINATION OF THE PROGRAM IS CALLED AS A PERSISTENT OBJECT.ON THE OTHERHAND REST NATURE OF THE OBJECT TYPE IS CALLED AND TRANSIENT OBJECT.mmm

  Was this answer useful?  Yes

Transient object : 1> emporary Object
                             2>    Can not be serilised (ie. can not  save to secodary storage)

Persistent  Object : 1>     permanent Object (Persists its state )
                               2>     can be serilased (ie. bale save to secodary storage and can be
                                        use in future if needed)

  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.

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions