why we are called run time entity?
what is a run time entity? why do we call an object as run time entity?
Collapse
X
-
Tags: None
-
Any real world object is called as entity.
An entity which is having State, Behavior and Identity is called as run time entity.
Every entity has objects to act on behalf of them.
That's why objects are frequently called as run time entities. -
I view this as more of a philosophical question than a programming question.
A real-world object (like a tree) exists regardless of whether it is modeled in a computer program. It is a real-world entity.
When does an OOP object exist? The common answer is that it only exists while instantiated in a running program (that is, during run-time). It is a run-time entity.
Somebody could argue that an OOP object exists as long as a program that implements it exists regardless of whether or not that program is running ... but what does it mean for a program to exist? I'm getting dizzy.Comment
-
An object is called as run time entity because it is assigned memory dynamically during run time.(although the class is compiled during compile time)Comment
Comment