文件名称:西电java作业
文件大小:5KB
文件格式:HTM
更新时间:2021-05-20 15:09:34
java作业
IMPORTANT!!! : Get JDK 8 installed and working first. You have to use the class names specfied here, you can't make up your own names. Java class names are case sentitive. Note that by defining the class names, we are also defining the file names you will submit. Class SumOfArgs Create a class named SumOfArgs that will print out the sum of all integer arguments found on the command line. It should have a main() method so the class can be run. Anything that is not an integer should be skipped (should not contribute to the sum). It should print out only the sum (nothing else!). No error messages can be printed out (no matter what the command line args look like). Examples of what your class should do when run: