What's the use of Local type variable inference in Java 10 ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the use of Local type variable inference in Java 10 ?

25th Aug 2019, 10:09 AM
Kabir
Kabir - avatar
1 Answer
0
short syntax with type of variable in methods and loops or if you are not sure what type is returned from the API method and doesn't matter it. :) var s = System.out; s.println(); or if you are good in Javascript but you need learn java
25th Aug 2019, 11:57 AM
zemiak