I don't know what I went wrong

how to i fix it


image

ok i can fix it
image
I change private to public Then the point of error disappeared.

That is the fix. To access methods from different classes they have to be public, unless it is a class that inherits from a base class. then they can be protected, too

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms