I'm getting a coding problem that is quite simple to fix, I just can't figure out why it isn't working. I'm simplifying code to make it easier to read and to exclude the stuff that doesn't matter right now. I have two classes. One is GUIView, which has the method as follows:
The other class (Model) is trying to call the value of int size by using the following method.
The error is on size. "Size cannot be resolved to a variable"
The other class (Model) is trying to call the value of int size by using the following method.
The error is on size. "Size cannot be resolved to a variable"