in JAVA by
Q:
What are the main features that JDK has added?

1 Answer

0 votes
by

The following are some of the key features that JDK 7 introduced:

  • A better diamond operator type inference.
  • Adding support for strings in switching and case expressions
  • Try-with-resource or automatic resource management
  • Fourth-Join Framework
  • Use an underline in literal numbers
  • Capability of using a single catch block to catch numerous exceptions
  • Binary literals beginning with "0b"
  • The updated File API and Java NIO 2.0
  • G1 Garbage Collectors 

Related questions

0 votes
asked Dec 22, 2021 in Image Classification by rajeshsharma
0 votes
asked Oct 12, 2020 in JAVA by Robindeniel
0 votes
asked Mar 9, 2021 in PL/SQL by Robindeniel
0 votes
asked Apr 6, 2021 in Maven - Coalescing Pipeline by SakshiSharma
...