stringbuffer/string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • helpamit
    New Member
    • Mar 2007
    • 5

    #1

    stringbuffer/string

    what is difference between string and stringbuffer?
    which is more efficient?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by helpamit
    what is difference between string and stringbuffer?
    which is more efficient?
    Read the docs here.

    Comment

    • sateesht
      New Member
      • Apr 2007
      • 41

      #3
      Hi

      String Objects are Immutable (Unmodifyable) Objects in nature and StringBuffer Objects are Mutable (Modifyable) Objects in nature, that means once String Object is created we couldn't modify that Object.



      Cheers,
      Sateesh.

      Comment

      Working...