1 Reply Latest reply: Feb 22, 2007 7:53 AM by 800322 RSS

    StringBuffer constructer


      We can pass the buffer size to StringBuffer constructer.

      StringBuffer sb = new StringBuffer(30);

      How should we decide on the optimal number of bytes for the buffer.

      For example wether we are going to pass 30, 100, 150 etc to constructer of StringBuffer.

      Thanking You,