I am trying to solve the following problem but how do write the method that accepts String as an argument?
Write a method named printReverse
printReverse
Something like this:
public class StringUtils { public static String reverse(String forward) { String result = ""; // Put your code here return result; } }