What is a Persistent, Transient Object?

Answer Posted / mahendran a

It is about what happens when the application is shutdown
and started again.
Persistent - These objects are stored during shutdown and
recreated when application is started again or when necessary.
Transient - Can not survive after application ends.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a virtual method and an abstract method?

538


Explain persistence?

579


How to make a class accessible as a web service?

531


What is an abstraction?

538


Do we require parameter for constructors?

697






What is bootstrap, extension and system class loader?

499


What is polymorphism and abstraction?

611


Can we override static methods? Why?

518


What is ‘this’ pointer?

574


Explain method overriding.

603


Why is C not an OOP language?

584


What is the base type from which all structs inherit directly?

546


What are virtual functions, base class pointer, derived class pointer, biding references?

548


How do you prevent a class from being inherited by another class?

614


What do you mean by polymorphism?

556