selikoff.net
What type is a var?
Java 10 introduced “var” where the type of the variable is implied. This leads to some tricky scenarios. We first learn that “var” can replace the type. That means these two…