Why java strings are immutable in nature?
Answer / Ravindera Kumar Dhar Dwidi
Java Strings are immutable because once created, they cannot be changed or modified. This is a design decision made by the creators of Java to ensure thread safety and consistency as String objects cannot be accidentally mutated during their use.
| Is This Answer Correct ? | 0 Yes | 0 No |
How are observer and observable used in java programming?
Which arithmetic operations can result in the throwing of an arithmeticexception?
Why is java so important?
What classes can be used to store arbitrary number of objects ?
What are the legal operands of the instanceof operator?
Program to output as below formate: 1 2 3 4 5 6 7 8 9 10
What is the relationship between class and object?
What is difference between overloading and overriding in java?
What is the difference between jdk, jre, and jvm?
What are library required to connect to excel sheet.
why doesn't java run on all platforms?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in