immutable
strings are those which cannot be changed or altered
not open for mutation
to create string that are immutable we use the string class
mutable
strings are those which can be changed or altered
open for mutation
to create strings that are mutable we use StringBuffer class or StringBuilder class
previous video link:
source code link:-