what is a run time entity? why do we call an object as run time entity?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vaishali chande
    New Member
    • Jan 2013
    • 1

    what is a run time entity? why do we call an object as run time entity?

    why we are called run time entity?
  • sainathsagar
    New Member
    • Jan 2013
    • 7

    #2
    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.

    Comment

    • donbock
      Recognized Expert Top Contributor
      • Mar 2008
      • 2427

      #3
      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

      • daspiyush0
        New Member
        • Nov 2014
        • 1

        #4
        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

        Working...