What is a Persistent, Transient Object?

Answer Posted / priyadharshini.m

Persistent object is one which is stored even after the
creator of the object ceases to exist whereas transient
object only exist till the creator exists and not stored
permanently

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which oops concept exposes only necessary information to the calling functions?

575


What is the difference between class inheritance and interface inheritance?

589


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

670


What is a constructor in class?

595


What is difference between static and non-static fields of a class?

500






What is the main advantage of using inheritance?

574


What is the difference between an interface and abstract class?

584


What is meant by function overloading and function overriding?

600


What are all the operators that cannot be overloaded?

554


Differentiate between data abstraction and encapsulation.

525


What is the difference between new and override?

553


Do structs support inheritance?

537


What is the difference between aggregation and composition?

517


What are a base class, subclass, and superclass?

563


What is constructor and virtual function? Can we call virtual funciton in a constructor?

609