time due | submission file |
---|---|
10:25 PM Wednesday 19 October, 2005 | csci/431/HW6/Java15.java |
You all learned Java is CSCI 201, but some new (and exciting) features were added to Java in version 5. Your assignment is rather unconstrained. You are to write a well-documented Java programmer that illustrates the use of some of the seven Java enhancements referenced by the JDK 5 Java Programming Language page.
There's a "point" system for this assignment. Each illustration of the following new enhancements gains you the points shown in the following table. The maximum number of points you can get is 10, and programs can lose points for poor documentations. If you take examples from other sources, you must credit them.
Generics | 3 |
Enhanced for Loop | 1 |
Autoboxing/Unboxing | 1 |
Typesafe Enums | 2 |
Varargs | 2 |
Static import | 1 |
Annotations | 2 |
Copy Java15.java to the assignment drop-off directory.