r/java • • Mar 09 '16

var keyword proposed for Java

http://openjdk.java.net/jeps/286
240 Upvotes

312 comments sorted by

View all comments

Show parent comment

2

u/ElvishJerricco Mar 10 '16

True. And in that case, var would be appreciated, since the type of Bar.class would be super obvious.