(Display an integer reversed ) Write a method with the following header to displayan integer in reverse order:public static void reverse(int number)For example, reverse(3456) displays 6543. Write a test program that promptsthe user to enter an integer and displays its reversal.