Tag: varkeyword

  • How to use the var keyword in Java?

    Java is statically typed. It means the type of a variable is known at compile time. And it is strongly typed , an integer variable will always be an integer variable . Starting Java 10 , Java introduced the concept of local variable type. Since then you can use var keyword to represent variables. This…