Program for reverse an array of integers in java

Problem :-   Write a program to reverse an array in java . Solution: There are multiple…