add static modifier to the level condition constants

This commit is contained in:
Siwat Sirichai 2020-11-10 13:36:19 +07:00
parent 27b840e0df
commit 6c9ea0fe19
5 changed files with 5 additions and 5 deletions

Binary file not shown.

View file

@ -5,8 +5,8 @@ public class Witch {
private String school;
private int magicPower;
final int MAX_LEVEL = 100;
final int MIN_LEVEL = 0;
static final int MAX_LEVEL = 100;
static final int MIN_LEVEL = 0;
// Constructors
public Witch() {