Why is a string considered an immutable data type?

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter3: Using Methods, Classes, And Objects
Section: Chapter Questions
Problem 16RQ
icon
Related questions
Question
Why is a string considered an immutable data
type?
Transcribed Image Text:Why is a string considered an immutable data type?
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer