|
-
February 6th, 2003, 10:43 AM
#1
Variable Inheritence
Hi
I have an issue with variables in parent and child classes.
Basically what I want to do is create a method in the parent class that is used within all the child classes. However the method uses a variable 'n' that I want to be different for each child class.
How would I go about doing this? I cant seem to get it to work.
Is there a way to override variables maybe?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|