Choose the code snippet with your preferred programming language. Potential issues in the code are shown in the bingo table below. Check if the code has any of the potential issues, and record how to resolve them. If you find all 4 of the fields in a row, column, primary or secondary diagonal of the table - call out Bingo!
| BUG BINGO | |||
|---|---|---|---|
| Memory Leak | Index Out of Bounds | Casting Exception | Mutating Constant |
| Number Out of Range | Null Pointer Exception | Arithmetic Exception | Unreachable Code |
| Illegal Access | Nonexistent Enum Entry | Uninitialized Variable | Stack Overflow |
| Missing Return Statements | Race Condition | Code Repetition | Tight Coupling |
compile:
javac FileName.java
execute:
java FileName