#java #programming Here , i ' m showing how to swap two varriable without using third varriable.
We intiatilize two int variable int a=10, b=20. And then did sum and stored in a variable. So a =30, now we minus a - b and stored in b varible.So will be b = 10. then a - b means 30 - 10 = 20 and stored in a variable and finally print the variable value.