Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What does the term ‘immutable’ means in term of string objects?

a) We can modify characters included in the string
b) We cannot modify characters contained in the string
c) We cannot perform various operation of comparison, inserting, appending etc
d) None of the mentioned

Answer: b
Explanation: String objects are ‘immutable’ means we cannot modify the characters contained in string. Also operation on string produce a modified version of string rather then modifying characters of string.

Join The Discussion