- Generics: A way to make classes type-safe that can work on any type, such as narrowing an instance of a collection to hold a specific object type and eliminating the need to cast objects when taking an object out of the collection.
- Enhanced for loop: A cleaner and less error-prone version of the for loop for use with iterators.
- Variable arguments: Support for passing an arbitrary number of parameters to a method.
- Boxing/unboxing: Direct language support for automatic conversion between primitive types and their reference types (such as int and Integer).
- Type-safe enumerations: Clean syntax for defining and using enumerations, supported at the language level.
- Static import: Ability to access static members from a class without need to qualify them with a class name.
- Metadata: Coupled with new tools developed by third-party companies, saves developers the effort of writing boilerplate code by automatically generating the code.
Blog on things around me - Quality Management, Free & Open Source Software, Gadgets, Utilities...
Wednesday, April 18, 2007
New Features in Java 5
Several useful features have been introduced in Java 5.
Subscribe to:
Post Comments (Atom)
Total Pageviews
Popular Posts
-
Here is the list of Online Hindi Radio Stations. Copy the URL in your media player and enjoy !! 106.2 HUMFM - UAE ==> http://www.humfm.c...
-
There are four types of JDBC database driver: The JDBC/ODBC bridge driver (Type 1) A piece of native C-code that translates a JDBC call to ...
-
Here are a few of the JDBC Performance pointers. Hopefully, there are a lot more, which you may be aware of, but not mentioned here. Care to...
-
I just decied to look for a few commonly used UNIX command. A quick Google produces a lot more, but here are a list of more useful commands...
-
Always give your 100% to work... :) [received in an email]
1 comment:
And you find some more links for Java 5 here:
http://www.tutego.com/java/java-1.5-neuigkeiten.htm
For Java 6 some links are listed here:
http://www.tutego.com/java/java-6-mustang-news.htm
Post a Comment