WHAT'S NEW?
Loading...

String Reverse in Java


//WAP for string reverse

class strrev
{

 public static void main(String args[])
 {
  
  StringBuffer s=new StringBuffer("RAdaR");

  s.reverse();

  System.out.println("Reversed String :\t"+s);

 }

}
Post a Comment