public static String reverse2(String s) {
		
		StringBuilder rev = new StringBuilder();
		int n = s.length();

		for (int i = 0; i < n; i++)
			rev.append(s.charAt(n - i - 1));
		
		return rev.toString();
	}