You can make a instance variable on top of the class decleration, and when constructor is called, you can check if this instance variable has already been set.
1 Like
You can make a instance variable on top of the class decleration, and when constructor is called, you can check if this instance variable has already been set.