Check out example codes for "java var keyword with example". It will help you in understanding the concepts better.

Code Example 1

// var is a keyword to declare variable 
var x = 0;
System.out.prinltn(x);

Learn ReactJs, React Native from akashmittal.com