Howdy, Stranger!

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

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
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.

Inheritance

rkearneyrkearney Posts: 1Member
Hi,

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

thanks


Comments

  • WirusWirus Posts: 10Member
    Hmm, I can't see any attachments. Is it because you haven't add them, or maybe my rss reader doesn't show them?


    Hi,
    Could you add minimized version of your code, on which we can see your problem?


    Wirus
Sign In or Register to comment.