how to print a char backwards in java code example
Example: reverse string java
String string="whatever";
String reverse = new StringBuffer(string).reverse().toString();
System.out.println(reverse);
String string="whatever";
String reverse = new StringBuffer(string).reverse().toString();
System.out.println(reverse);