InterviewSolution
Saved Bookmarks
| 1. |
StringBuffer vs StringBuilder in Java |
|||||||||||||||
|
Answer» StringBuffer class which is related to class STRING that GIVES most of the usage of strings. StringBuffer is a mutable, expandable and WRITABLE SEQUENCE of characters. StringBuilder is a class whose objects are similar to String objects barring that they can be CHANGED. The size and matter of the sequence of characters can be modified through method calling statements.
|
||||||||||||||||