Java syntax: Difference between revisions

Content deleted Content added
m linking
Line 194:
</syntaxhighlight>
 
Since Java 10 it has become possible to [[type inference|infer types]] for the variables automatically by using <code>var</code>.
 
<syntaxhighlight lang="java">