This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Note that in the first statement you are declaring a variable of type InputVars and then setting it equal to the result of calling the constructor InputVars(). In the second statement you are ONLY declaring a variable which is an array of InputVars. You did not initialize it with any value.
"JavaRanch, where the deer and the Certified play" - David O'Meara