var keyword in java code example Example: java var keyword with example // var is a keyword to declare variable var x = 0; System.out.prinltn(x);