Java Blog

 public class JAVA_061
    public static void main(String[] args)
       StringBuffer SB=new StringBuffer(\"Many hands make light work\");

       System.out.println(\"At Start, StringBuffer : \" + SB);


       System.out.println(\"After Changing, StringBuffer : \" + SB);

       SB.reverse( );

       System.out.println(\"After Reversing, StringBuffer : \" + SB);

    Related Post:
  1. Program to show the use of Comparison operator (==) for comparing Strings

  2. Program to perform Merge Sort

  3. Program in CORBA which takes a long sentence from client (at least 7 words), passes to the server, server separates out each word and sends back

  4. Program to show insertion of StringBuffer, String objects and other Basic Data Types into a StringBuffer object

  5. Socket program of HTTP Server

  6. Simple Applet which will show life cycle of an Applet

  7. Program to copy the elements of an array into another array in reverse order and print them

  8. Program to convert the given temperature in faherenhiet to celsius using the following conversion formula C= F- 32/1.8

  9. Program to reverse the number eg given no : - 12345, output want :- 54321

  10. An applet program of showing new document using showDocument(URL) method

  11. Application for counting factorial of a given number

  12. Write a program for restaurant

  13. Program to show the use of Switch Statement for the same statement for several different case labels

  14. Program to show the use of While Loop

  15. Program to show an example of Arrays of String

  16. RMI based application for login validation based on data saved in text file stored on the server and will display appropriate message to the client..

  17. Write a class whose objects holds a current value and have a method to add that value, printing the new value

  18. Program to show an example of using a Non-Static Nested Class

  19. Servlet which takes input from an HTML client page and calculates and outputs the premium amount