Back To Java Basics Index
// program to input two numbers or integers and display their values public class inputtwointegers { public static void main(String[] args) { int a,b; a=10; b=20; System.out.println("value of a is " + a); System.out.println("value of b is " + b); } }