New features added are

  • Lambda expression

This introduces an entirely new syntax element and fundamentally increases the expressive power of the language.

  • Stream Stream is a library in java.util.stream which supports pipeline operations on data.
  • Default method

    This method makes it possible to add default functionality to an interface.

  • Repeating and type annotations

  • Allowing String data type in switch statement.

  • Default Interfaces

    These provides the default method to execute in Interfaces

Need of Java

  • c was developed from

  • c++ was introduced for reduce complexity.

  • Java was developed for portability.

results matching ""

    No results matching ""