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
Does java support multiple inheritances?
Explain the concept of hashtables?
How many threads can java run?
Can a class be a super class and a sub-class at the same time? Give example.
What is tochararray in java?
What are access specifiers in java ?
What are the actions that can occur when a thread enters blocked state?
What is sizeof () operator?
What is a marker interface?
How is abstraction implemented in java ?
In the below example, how many string objects are created?
What is hashing in java?
What are static initalizers in java ?
What is runtime locatable code?
What is a platform?