Write a method which has one parameter, a string, which returns a string which is the parameter will all characters reversed.
Here is the details of the program to be written.
public static String reverse(String text)
s = reverse("feed");
This would assign "deef" to s.