Java: program for swapping two numbers using third variable.[CMD]

Опубликовано: 12 Июль 2026
на канале: Programming Duniya
542
12

This is the JAVA program for swapping two numbers (provided by user) using third variable named temp.



in first case----x=12 &
y=5 -------(Before swapping)



in second case----x=5 &
y=12-----------(After swapping).







contact-

Instagram - real1prince
gmail - [email protected]






If you liked my videos then please subscribe my channel.




link of the Programming Duniya-----

   / @programmingduniya4380