Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 617 Bytes

java11.md

File metadata and controls

20 lines (18 loc) · 617 Bytes

New Java 11 Feature :

  1. Nest Based Access Control....
  2. Removed java ee and CORBA - Jax-ws, Jaxb, JTA etc
  3. var introduced in Lambda. due to this we can add annotations in lambda parameters.
  4. java HelloJava.java =>

Before Java 11 : $ javac HelloJava.java $ java HelloJava Hello World!

Now Java 11: $ java HelloJava.java -> can compile and run in single command..... Hello World!

Benefit : single Java program can run as a script

  1. Nashron Javascript Engine - removed
  2. New String Methods - isBlank, lines, strip, stripLeading, stripTrailing, repeat --