Tuesday, July 14, 2015

Java 8 : New Features

Bored with Java, May be you have not tired Java 8. Some of you might installed the java 8 , as like another common version update.It has a major feature release.

It is not again the simple "latest version available to download" notification. This is a great version to get java developer be boosted. Yes come and site in the edge of the seat. I am not going to screen the all feature here. But I will listing the features shot and sweet  with new teams that you may not come across.
If you are curious to know in deep , ask google yourself.

A java developer must know these following Terms,

Lambda Expressions
       Single-Abstract-method interfaces == functional interfaces (aka SAM Interfaces)
       Defender Methods == Default Methods

Method references
       Static method
       Constructor
       Instance Method of Arbitrary object
       Instance Method of particular object

Annotations
       Repeating Annotations
       Type Annotations

Type inference
       Better Type inference than java 7. But no types were added.

Reflection
       Obtain the names of the parameters of methods or constructors,

Collections
      Streams API - (Reactive programming to process collection in parallel or sequential)

JavaScript Engine
      Nashorn - A JAVA based engine to execute JavaScript code

Links

Official Java 8 features page
Default-methods-defender-methods-in-java-8

No comments:

Post a Comment

Merging two sorted arrays - Big O (n+m) time complexity

 Problem :  Merge the two sorted arrays. Edge case :  Array can empty Arrays can be in different size let getMaxLength = ( input1 , input...