DEVFYI - Developer Resource - FYI

What are new language features in J2SE 5.0?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

404. What are new language features in J2SE 5.0?

Generally:
1. generics
2. static imports
3. annotations
4. typesafe enums
5. enhanced for loop
6. autoboxing/unboxing
7. varargs
8. covariant return types

(Continued on next question...)

Other Interview Questions