0
How to convert a string "feedback" as "backdeef" in java?
not supposed to break the string into 2 parts
2 Answers
0
String input = "feedback";
StringBuilder input1 = new StringBuilder();
input1.append(input);
input1 = input1.reverse();
System.out.println(input1);