1) String objects are constants and immutable whereas StringBuffer objects are not.

2) String class supports constant strings whereas StringBuffer class supports growable and modifiable strings.

You can see the full list of Java Interview Questions Here

If you have any questions or comments please email me at john@johnathanmarksmith.com



Published

29 May 2013

Tags