Top 20 Java Interview Questions
Wednesday, 6 July 2016
Differences between String and StringBuffer
String are immutable (i.e. non-changeable) ,so we cannot change the object, if we try to do the change another object will be created.
StringBuffer are mutable (i.e. changeable) ,so we can perform the change on the object.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment