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
Is null a value?
What is unmodifiable collection in java?
Why are the destructors for base class and derived class called in reverse order when the program exits
What does nextint () do in java?
What is append function?
What is the size of int?
What is static class
What are the 8 data types in java?
Can a final variable be initialized in constructor?
Explain what access modifiers can be used for variables?
What is the difference between a checked and an unchecked exception?
What is qualitative variable?
Give the difference between the println method and sqrt method?
What is :: operator in java 8?
Differece between class and generic class?