Is this your company?
how to reverse a string?
Anonymous
public class reverse { public static String reverseIt(String a) { int length = a.length(); StringBuilder reverse = new StringBuilder(); for(int i = length; i > 0; --i) { char result = a.charAt(i-1); reverse.append(result); } return reverse.toString(); } }
Check out your Company Bowl for anonymous work chats.