Friday, 4 July 2014

How to convert StringBuilder to String

package com.vipul;

public class StringBuildertoString {

      /**
      * How to convert StringBuilder to String
      * @param args
      */
      public static void main(String[] args) {
            StringBuilder sb = new StringBuilder();
                sb.append("test");

                System.out.println(sb.toString());

      }

}

==========================================================================
Maven + eclipse related 
An internal error occurred during: "Importing Maven projects". Unsupported IClasspathEntry kind=4 fixed

==================================================================================

No comments:

Post a Comment