import java.io.*;
import java.lang.*;
class StaticMul
{
	public static void main(String args[])
		{
 	 		int n1=20,n2=10;           //Defining Static Integer values
			n1*=n2;                       // or n1=n1*n2;
			System.out.println("Multiplicatation : "+n1);

		}
}

 OUTPUT:

compilation : javac StaticMul.java
execution   :  java StaticMul
Multiplication:200

 

 

Buy Head First Java

Best Book for Java

Beginner's Book