Yes, I want the variables to hold the data the user inputs.
Also can you tell me what is wrong with this line of code
awayFromTheNumberArray = JellyBeansHelper.findLowestDifference(playerGuess, jeallyBeans);
This is the error I am getting when I run my program
Jellybean Guess Game!
You can now guess, your guess must be between 1000 and 2000 exclusively
------------------------------------------------------------------------
How many players will be making guesses today? 3
Please enter name # 1: Craig
Craig, Enter your guess between 1000 and 2000: 1222
Please enter name # 2: Brian
Brian, Enter your guess between 1000 and 2000: 1333
Please enter name # 3: Steve
Steve, Enter your guess between 1000 and 2000: 1444
Exception in thread "main" java.lang.NullPointerException
at JellyBeansHelper.findLowestDifference(JellyBeansHelper.java:23)
at JellyBeans.main(JellyBeans.java:56)