If I have an array in class x and need to access it in class y then how can I make this array accessible in the other class?
Printable View
If I have an array in class x and need to access it in class y then how can I make this array accessible in the other class?
you need to look at accessor methods. Here's a basic tutorial:Accessors and Mutators
Thank you, I will check it out
I have worked this out while moving through the documentation in the link thanks.
Was very helpful