#Creating applicable constructor & overloaded constructor
2 messages · Page 1 of 1 (latest)
you are using a overloaded constructor in said class. However, your fields die1 and die2 are only accessible in each of the constructors. If you want your code to work you need to define them both as class fields.