Java examples for Language Basics:Variable
Assignment statements have this general form:
variable = expression;
public class Main { public static void main(String[] args) { int i;/*from ww w .j a v a 2s . com*/ i = 0; System.out.println("i is " + i); } }