Question: in java Write a java program to swap then display the values of two integer variables first and second. Your program should display the output
Write a java program to swap then display the values of two integer variables first and second. Your program should display the output as shown below. [Hint: Use a temporary variable to do the swap]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
