a) String objects are constants and immutable whereas StringBuffer objects are not.
b) String class supports constant strings whereas StringBuffer class supports growable and modifiable strings.
b) String class supports constant strings whereas StringBuffer class supports growable and modifiable strings.
0 comments:
Post a Comment