Showing posts with label code examples of java 7 changes. Show all posts
Showing posts with label code examples of java 7 changes. Show all posts

Thursday, December 05, 2013

What's new in Java 7

I have been reading  about Java 1.7. There are articles about what's new,I have read them and compromised to write the language changes with examples.
So the normal developer can understand the changes easily by examples.Here I am mainly focusing on language  changes  I have taken these language changes from wikipedia https://en.wikipedia.org/wiki/Java_version_history#Java_SE_7_.28July_28.2C_2011.29. You can see all other changes here.

Language Changes 
  • Strings in switch
  • Automatic resource management in try-statement 
  • Improved type inference for generic instance creation, aka the diamond operator <>
  • Language  Support for Collections.
  • Binary integer literals
  • Allowing underscores in numeric literals
  • Catching multiple exception types and re throwing exceptions with improved type checking

There is a list of other features available on the OpenJDK 7 features page.

Understanding Essential DNS Record Types for Web Administrators

  Understanding Essential DNS Record Types for Web Administrators Introduction The Domain Name System (DNS) acts as the backbone of the inte...