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 main advantage of using inheritance?

743


Whether static method can use nonstatic members?

680


What is a default method? Why do we need default methods in java 8 interfaces?

746


What is composition? Explain the purpose of composition.

732


What is multiple inheritance? How java 8 supports multiple inheritance?

751






Can I implement polymorphism using abstract class?

734


What is Abstract method and how different from Virtual Method?

669


What is the use of finalize method?

732


What is diamond inheritance problem? How java 8 solves this problem?

827


What is a virtual function?

705


Can you give some examples of tokens?

807


Can an interface contain fields?

731


What is operator overloading and polymorphism?

733


What is the syntax of object oriented method call?

711


How can I be thrown polymorphically?

727