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
When can we say that threads are not lightweight process in java?
What is the use of a copy constructor?
What is the reason behind using constructors and destructors?
Why do we need singleton class?
What is string pooling concept?
What is meant by collection in java?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
what is mena by object block any what is the use of that
What is this keyword in java?
What is bool mean?
What are the five major types of reference sources?
Explain about serializable interface in java?
Why multiple inheritance is not supported by java?
Can you explain the usages of class.forname()?
If you do not want your class to be inherited by any other class. What would you do?