Inheritance - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.


rkearneyrkearney Posts: 1Member

I am trying to understand what is happening here. I have 2 classes a Master class with all my methods and other classes which I call to the Master Class. I am a novice so bear with me here. The question is why do the variable go back to null when I return to the calling class TestCase13_2 . the variable are formattedDate/formattedDateEnd in the GenerateDates method

I assume it is something to do with inheritance , as what is a solution to make these variables visible to all classes

See attachment



Sign In or Register to comment.