prove that string are immutable or not | why java strings are immutable | immutable string

Опубликовано: 30 Апрель 2026
на канале: LearningPointAabid
45
5

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:-