Object lifecycle

Tarooj Khan
Nov 11, 2020

Object lifecycle is a object oriented programming concept which is about the life of an object from its creation till its end. Our life can be compared to that concept as well as we are created by God and then our life ends by God as well. The concept of this programming is very similar to an object. We can consider our life as an object. That would be a little vague because our attributes would be for example: date and place of birth/death, age and location etc.. But mostly we use this programming to compare to an actual object like a bird or balloon etc. But object lifecycle can be a metaphor for life. We can use it and set attributes. Object oriented programming is such a broad subject that we can use it to program anything.

--

--