Abhinaw TripathiOct 18, 20161 min readReverse an array or String in javaQuestion: Write a program to reverse an array or string?. Solution:(Recursively) 1) Initialize start and end indexes start = 0, end = n-1