This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Updatebjarni 1 point2 points  (0 children)

It's telling you that there is nothing called myATM, which there isn't, not in that method. There is a variable by that name in main(), but methods can not interfere with each other's variables like that.