This is in Java(Latte) for CodeHS. Attached is the instructionsand my code. I can’t move on until I correct the error. I can’tfind my mistake.
I keep getting the following error which is the last line of thecode:
Errors:
-
PokemonSimulation.java: Line 86: reached end of file whileparsing
Exercise 7.1.7: The PokemonSimulation Class
LET’S GO!
Now that we have all of our classes that represent each part ofthe Pokemon battle, it’s time to put the pieces together tosimulate a full Pokemon battle.
In this challenge, your job is to write the code that sets uptwo PokemonTrainers for battle. Read input from the user to chooseeach PokemonTrainer’s name, choose
PayPal Gateway not configured
PayPal Gateway not configured