private static String choice;
The variable choice is not initialised so it is given the default value of null. If your code never assigns a value to choice then you get the NPE. You should always...
Type: Posts; User: Junky
private static String choice;
The variable choice is not initialised so it is given the default value of null. If your code never assigns a value to choice then you get the NPE. You should always...