The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Store string in StringBuffer

Posted by Bobby S. on August 02, 2001 at 2:08 PM

> Hai guys,
> This is Deepa who is appearing for the first time in this forum. Can any one of u guys provide me the code for reversal of String using a Recursive Function?

> Thank u,
> Deepa.

public class TestString{
public static void main(String args[]){
StringBuffer buf = new StringBuffer("Bobby");
System.out.println(buf.reverse());
}
}



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us