Java Program to Add Two Numbers Without Using Third Variable

Posted by Prem Tiwari | Updated on | in Java Programming.


In this tutorial, I will explain how to write a Java program to add two numbers without using the third variable. In this program, I have declared two variables as X and Y with some …