- 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.
Wednesday, April 18, 2007
New Features in Java 5
Several useful features have been introduced in Java 5.
Popular Posts (Last 30 days)
Bugzilla is the Bugs/Issues Tracking Tool from The Mozilla Organization. Version 2.18 is the latest stable release. There are couple of res...
Here are some of the articles I have been going through recently: 16 Open-source Tools Testers Should Be Thankful for This Thanksgivin...
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...
You get all kinds of happiness advice on the internet from people who don't know what they're talking about. Don't trust them. A...
New Payment Bank Licenses are Finally Here. Here's What They Can Do. http://capitalmind.in/2015/08/new-payment-bank-licenses-are-final...
Check out this article I found on Prismatic: "Habits of people who always get promoted" http://prsm.tc/vPS7Oi
"Happiness feels intolerably elusive for many of us. Like fog, you can see it from afar, dense and full of shape. But upon approach,...
I had made my first equity investment in the NFO of Fidelity, way back in 2005. I was looking into the financial products available for sma...
Mark the location of the first character of the block of text you want to copy by pressing mx This marks the begining of the text to be copi...
Check out this article I found on Prismatic: "Things you can learn in 10 minutes" http://prsm.tc/20phs6