sum of two int numbers
public class Sumoftwonumbers { public static void main(String[] args) { // TODO Auto-generated method stub int a=10; int b=20; int c=a+b; System.out.println("sum of a+b="+(a+b)); }// w ww .j a v a 2 s .c om }