There are several places to define variables: inside the class and inside a method.
Variables defined in a method only exist while the method is being executed. They disappear when the method stops...
Type: Posts; User: Norm
There are several places to define variables: inside the class and inside a method.
Variables defined in a method only exist while the method is being executed. They disappear when the method stops...
Please explain what happened.
There aren't any class level arrays in the posted code. To access an array in another class, the array must be defined at the class level.
Please edit your post...