Wednesday, October 31, 2018

String: Why it Is Immutable?

Why String Is Immutable?

This is one of the most popular interview questions. In this blog, we are going to talk about it and help you find the answer. String is one of the most used classes in any application. For storing the username, password, address, IP address, etc., we need to create String objects. So, it is necessary to understand why our most famous and used class is immutable.



from DZone.com Feed https://ift.tt/2OWtXmW

No comments:

Post a Comment