About “var” Keyword In Java

 Starting in Java 10, We have the option of using the keyword “var” instead of the type for local variables under certain conditions.

 The formal name of this feature is local variable type inference.

 

Comments

Popular posts from this blog

How intern() method works in Java

Arrays class usage in Java