Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Cannot Find Symbol Error

+5 votes
asked Aug 11, 2025 by Russell Wilner (170 points)
https://onlinegdb.com/AE2elmOXNG

im having a "cannot find symbol" error in the preBattleMenu method of the Arena class. I really do not know what i am forgetting here

1 Answer

0 votes
answered Aug 12, 2025 by Peter Minarik (101,420 points)

You made a typo. You should have written upgradeWeapon, but you wrote uprgadeWeapon instead. ;)

After this, there will be more issues to fix. Come back to us if you have further hurdles that you cannot solve on your own.

Good luck!

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...