Question: In java In the Pokemon video games, each Pokemon has a number, which corresponds to its index in the Pokedex. The developers of the first
In java
In the Pokemon video games, each Pokemon has a number, which corresponds to its index in the Pokedex. The developers of the first generation Pokemon games (Red and Blue) programmed specifically which Pokemon could be encountered in any location of the game (or so they thought), so they assumed they would not need any safety checks to detect if the player encountered a Pokemon without a number. However, in Cinnabar Island, there is a small area where the player can surf while still being half-way on land: GYM A 000000 000090 nnnnnnnnnnnnnn rrrr LLLLLLLLS The programmers enabled Pokemon encounters on this small area, but they overlooked programming exactly what Pokemon could be encountered, resulting in the infamous "MissingNo" glitch: Wild MISSINGNO. appearedo . EE 000000 TASK: Create a new exception called MissingNoException that extends the Exception class. It must have a no-parameter constructor, which just calls the corresponding superclass constructor. It must also have a constructor that has one parameter of type String, which just calls the corresponding superclass constructor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
