Wednesday, December 15, 2010

JDK 7 Features

JDK 7 Features
Project Coin : Small language enhancements

Its a time to think of new features in JDK, entire JAVA community closely watching the progress of JAVA/JDK development in Oracle. This release comes with small java language change to major featuristics. Following are few details of feature/changes

Strings in switch
void print(String s) { 
  switch (s) {
    case "hello":
      System.out.println("hello: "+s); 
      break;
    case "wow":
      System.out.println("wow: "+s); 
   break;
    default:
      System.out.println("Wrong option: "+s);
  }
}
Refer for more details in blog
Binary integral literals and underscores in numeric literals
Read here
Multi-catch and more precise rethrow
try {
    doWork(file);
} catch (final IOException|SQLException ex) {
    logger.log(ex);
    throw ex;
}
Refer for more details in mail archive
Improved type inference for generic instance creation (diamond)
Read mail archive
try-with-resources statement
Read here
Simplified varargs method invocation
Read here

Read following links to know more about the JDK SE 7.0 features. JDK 7 Project Coin: Project Page | mailing list | Joe Darcy and other Sun bloggers | wiki

4 comments:

sheela rajesh said...

I am very glad to thank you for such kind of rich and informative blog.i really enjoyed while reading your ideas.
DOT NET Training in Chennai
Hadoop Training in Chennai
Android Training in Chennai
Selenium Training in Chennai
JAVA Training in Chennai
German Classes in chennai
SEO Training in Chennai
Selenium Training in Velachery

nikitha josh said...

I read the post and I have really enjoyed your blogs posts. Looking for the next post.
aviation institute in Chennai
Air Hostess Training Institute in Chennai
Airline Courses in Chennai
airport ground staff training in Chennai
Aviation Academy in Chennai
air hostess training in Chennai
airport management courses in Chennai
ground staff training in Chennai

Janu said...

The strategy you have posted on this technology helped me to get into the next level and had lot of information in it. The angular js programming language is very popular which are most widely used.


Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery





john said...

Great Article android based projects

Java Training in Chennai

Project Center in Chennai

Java Training in Chennai

projects for cse

The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

Post a Comment

Recent Posts

Unix Commands | List all My Posts

Texts

This blog intended to share the knowledge and contribute to JAVA Community such a way that by providing samples and pointing right documents/webpages. We try to give our knowledege level best and no guarantee can be claimed on truth. Copyright and Terms of Policy refer blogspot.com