Java syntax: Difference between revisions

Content deleted Content added
Universal types: Fixed formatting
Variables: Add subsection and main article
Line 195:
</syntaxhighlight>
 
====Type inference====
Since Java 10 it has become possible to [[type inference|infer types]] for the variables automatically by using <code>var</code>.
{{Main|Type inference}}
Since Java 10, it has become possible to [[type inference|infer types]] for the variables automatically by using <code>var</code>.
 
<syntaxhighlight lang="java">