Thursday, August 11, 2011

What's new in Java 7?

Besides Java 7 breaking huge projects like Apache Solr and others, Java 7 also brings a few little big features making it even easier and more comfortable to use.

Finally! Use strings in a switch
https://gist.github.com/1139335

Auto-close readers, streams, etc.
https://gist.github.com/1139442


Multi-catches
https://gist.github.com/1139447


Thanks Sebastian for introducing me to Java 7. :)


Further reading

No comments:

Post a Comment