Introduction
This is an example to show the time sequence of object creation and deletion.Code
Result
$ ./app/LifeCycleDemo/LifeCycleDemo
ElemInBase
BaseFoo
ElemInChild
FooA
~FooA
~ElemInChild
~BaseFoo
~ElemInBase
$ ./app/LifeCycleDemo/LifeCycleDemo
ElemInBase
BaseFoo
ElemInChild
FooA
~FooA
~ElemInChild
~BaseFoo
~ElemInBase
Comments
Post a Comment