What is a Persistent, Transient Object?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
What is a static method? Why do we need static methods in java 8 interfaces?
what are the different ways for a method to be overloaded?
Differentiate between data abstraction and encapsulation.
How can we restrict inheritance for a class so that no class can be inherited from it?
What are the limitations of inheritance?
What is the default access modifier for a class,struct and an interface declared directly with a namespace?
Can an interface have an inner class?
What are the main features of oops?
Explain the rationale behind object oriented concepts?
What are extrinsic and intrinsic connections in object-oriented programming?
What is virtual?
What is the benefit of Composition over Inheritance?