This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
I have a boolean variable defined in "methodA" and i want to use it in another method "methodB" of the same class but i do get always an error.I cannot make it public static like the other variables.Any ideas how to do this correctly?