I recently submitted a programming assignment to a professor in my college java course, but ran into some problems. The program compiled and ran fine on both my computer and the computer lab computer, but there were some errors found when my professor tryed to compile it. The errors were:
Is there any reason that this would occur? Different versions of java maybe? Both me and my professor are using JGrasp under windows. I would love it if womeone could help me figure out the problem. Thanks, Murphy
posted 12 years ago
At a guess you were compiling under 1.5 which will automatically convert the int to an Integer and your professor was compiling under 1.4 or earlier.