Simple Java Program for Addition

Here is simple java program for Addition which is for beginners…

public class add
{
void main ()
{
int a=55;int b=45;
int sum = a+b;
System.out.println(“The Result Of The Total :”+sum);
    }
}

btw you can change the values of a and b as you like….

Add Comment