Xlint is one of java 1.5's new features. I added an array list so that's why it's complaining. You can recompile like this:
javac Average.java -Xlint
then it will list a bunch of warnings and such. I did test the code, and it worked for me. If it doesn't work for you, check the java console and let me know what it's saying.
Reputation Points: 113
Solved Threads: 19
Postaholic
Offline 2,108 posts
since Jun 2004