0

How to convert a string "feedback" as "backdeef" in java?

not supposed to break the string into 2 parts

7th Apr 2018, 7:00 PM
Naveen Nani
Naveen Nani - avatar
2 Answers
0
String input = "feedback"; StringBuilder input1 = new StringBuilder(); input1.append(input); input1 = input1.reverse(); System.out.println(input1);
7th Apr 2018, 7:12 PM
Pavan Kumar T S
Pavan Kumar T S - avatar