Friday, 27 January 2012
Do you like this Article?
String class :
- Once an object is created and initialized, it can't be changed because it is Immutable.
- String object can be created Implicitly and Explicitly.
StringBuffer class :
- StringBuffer class is mutable(can be modified), length and content can be changed through certain method calls.
- It creates object Explicitly.