Java Tutorials: Why String is Immutable in Java

Опубликовано: 02 Октябрь 2024
на канале: Coding Simplified
9,468
165

Immutability: Should not change Object values once created
What benefits we get due to immutability:
Saving Heap Space
Good for HashMap Key
Good for critical operation
Good for Multiple thread operation. Thread safe

DO watch video for more info.

This problem is similar to following:
Why String is immutable in Java,
java Why String is immutable,
What you mean by String immutable in java,
java how immutability works on String,
java String immutable,
What is string immutability,
String immutable
java tutorial,
coding simplified,
java

CHECK OUT CODING SIMPLIFIED
   / codingsimplified  

I started my YouTube channel, Coding Simplified, during Dec of 2015.
Since then, I've published over 300+ videos. My account is Partner Verified.

★☆★ VIEW THE BLOG POST: ★☆★
http://codingsimplified.com

★☆★ SUBSCRIBE TO ME ON YOUTUBE: ★☆★

https://www.youtube.com/codingsimplif...

★☆★ SEND EMAIL At: ★☆★
Email: [email protected]