Java 101: The essential Java language features tour, Part 4

Before JDK 7’s debut, Oracle invited the Java community to submit proposals for new language features to its Project Coin mailing list. The open call ran for one month and nearly 70 proposal forms were submitted. Eight features were then selected for inclusion in JDK 7:

  • Automatic resource management (try-with-resources)
  • Switch-on-string
  • Multi-catch
  • Final re-throw
  • Binary literals
  • Underscores in numeric literals
  • Type inference changes
  • Simplified varargs method invocation

This installment in the Essential Java language features tour addresses the first four small language features from that list — try-with-resources, switch-on-string, multi-catch, and final re-throw. I’ll address the remaining four features in a follow-up article.

To read this article in full, please click here

\"IT電腦補習
立刻註冊及報名電腦補習課程吧!

Find A Teacher Form:
https://docs.google.com/forms/d/1vREBnX5n262umf4wU5U2pyTwvk9O-JrAgblA-wH9GFQ/viewform?edit_requested=true#responses

Email:
public1989two@gmail.com






www.itsec.hk
www.itsec.vip
www.itseceu.uk