in JAVA by

What is the major feature added in Java 10?

A) JShell

B) Local Variable Type Inference

C) Lambda Expressions

D) Enhanced for loop

1 Answer

0 votes
by
Answer: B

Explanation: Local Variable Type Inference is the major feature added in Java 10. It allows you to declare a variable without specifying its type explicitly.
...