Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the meaning of immutable regarding String?
Home
JAVA
What is the meaning of immutable regarding String?
0
votes
asked
May 3, 2021
in
JAVA
by
Robindeniel
What is the meaning of immutable regarding String?
string
immutable-string
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 3, 2021
by
Robindeniel
The simple meaning of immutable is unmodifiable or unchangeable. In Java, String is immutable, i.e., once string object has been created, its value can't be changed. Consider the following example for better understanding.
Related questions
0
votes
Q: Why CharArray() is preferred over String to store the password?
asked
May 4, 2021
in
JAVA
by
SakshiSharma
#chararay
string
java
Java-questions-answers
+1
vote
Q: Difference between String, StringBuffer and StringBuilder?
asked
Mar 16, 2021
in
JAVA
by
Robindeniel
#stringbuffer
stringbuilder
string
java-stringbuilder
java-stringbuffer
Java-questions-answers
0
votes
Q: Write a program to print all permutations of String?
asked
Mar 16, 2021
in
JAVA
by
Robindeniel
string
permutations-string
string-permutations
java-string
Java-questions-answers
0
votes
Q: What is String in Java? String is a data type?
asked
Mar 16, 2021
in
JAVA
by
Robindeniel
#string-java
java-string
java
string
Java-questions-answers
0
votes
Q: What is the best way to remove a string that is an anagram of an earlier string from an array?
asked
Jul 9, 2023
in
Snowflake
by
Robin
snowflake
string
+1
vote
Q: Given a string, return the first recurring character in it, or “None” if there is no recurring character.
asked
Oct 28, 2022
in
Python
by
SakshiSharma
python
string
functions
0
votes
Q: Javascript string using double quotes is exactly the same as a string using single quotes?
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
string
0
votes
Q: Redis string cannot hold any value beyond a certain length. What is it?
asked
Oct 4, 2022
in
Redis
by
sharadyadav1986
redis
string
0
votes
Q: What are string literals?
asked
Aug 11, 2022
in
GoLang
by
SakshiSharma
string
literals
0
votes
Q: In Python how do you convert a string into lowercase?
asked
Feb 11, 2021
in
Python
by
SakshiSharma
#python-string
string
string-lowercase
python-lowercase
Python-questions-answers
...