10 ms·javac does do type inference, but it only exposes it to you in error messages!by blasdel 17y agojavac does do type inference, but it only exposes it to you in error messages!