Answer Posted / hrindows@gmail.com
Strings in java are frequently used for hashmap keys. Now if someone changes the value of the string it will cause severe discrepancies. Hence strings are made immutable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you trim a space in java?
How do you create a bulleted list?
What is a top level class in java?
Is java a super set of javascript?
Why do we use return statement?
What is a nested list?
Does .length start 0 java?
What is the char data type?
What does jre stand for?
What is local declaration?
What are facelets templates?
What is the primitive type short?
What is public/private protected in java?
how can i use a nonsynchronized hashtable?
Can variables be used in java without initialization?