So Java 7 was released yesterday. Here are a few things I found interesting taken from the release guide. Some very nice features that I have been waiting for for a long time - my favorites are the Stings in switch and catching multiple exceptions but that is just me. For the full story http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-418459.html or http://download.oracle.com/javase/7/docs/ Language Binary Literals - 0b or 0B. Ok but I wont be using it so much. Underscores in Numeric Literals - Any number of underscore characters ( _ ) can appear anywhere between digits in a numerical literal. This may be quite confusing for my brain 52 == 5___2 weird but I suppose it helps with grouping Strings in switch Statements - You can use the String class in the expression of a switch statement. FINALLY been waiting for this. Type Inference for Generic Instance Creation - You can replace the type arguments required to invoke the constructor of a generic...
The Incident Archive: A blog to store my knowledge on the errors that I fix on a daily basis