Difference between String/String Buffer/String Builder

Jun 22nd, 20111 Comment

String

    Immutable Object
    It contains non-synchronized methods

String Buffer

    Mutable Object
    It contains synchronized methods

String Builder(from 1.5)

    Mutable Object
    It contains non-synchronized methods
VN:F [1.9.10_1130]
Rating: 10.0/10 (3 votes cast)
VN:F [1.9.10_1130]
Rating: +4 (from 4 votes)

Difference between String/String Buffer/String Builder, 10.0 out of 10 based on 3 ratings

About author:

All entries by

Leave a Reply

 

1 Trackback

  1. junk silver

    Yep….

    I couldn’t have said it better myself……

    VA:F [1.9.10_1130]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.10_1130]
    Rating: 0 (from 0 votes)