Java program for sum of 2 and 3

Java program for sum of 2 and 3
   

public class Sum
{
   public static void main(String args[ ]);
  {
    int a=2,b=3,c;
    c=a+b;
    System.out.println(" Sum of 2 and 3 is "+c); 
   }
}
  


Output 
 Sum of 2 and 3 is 5

Comments