Actually Scala uses =&gt;, so Java went the opposite way. Kotlin also uses -&gt;.<p>Doesn&#x27;t matter much in the long run, you&#x27;ll get used to whichever your language favors after just a few days or writing code in it.