About 2,040,000 results
Open links in new tab
  1. java - What is meant by immutable? - Stack Overflow

    Nov 11, 2008 · What exactly does immutable mean - that is, what are the consequences of an object being mutable or immutable? In particular, why are Java's Strings immutable? My …

  2. javascript - What does immutable mean? - Stack Overflow

    Immutable means that which cannot be changed or modified. So when you assign a value to a string, this value is created from scratch as opposed to being replaced.

  3. Why is String immutable in Java? - Stack Overflow

    Mar 14, 2014 · String is Immutable in Java because String objects are cached in String pool. Since cached String literals are shared between multiple clients there is always a risk, where …

  4. String is immutable. What exactly is the meaning? [duplicate]

    Jan 10, 2012 · String is immutable means that you cannot change the object itself, but you can change the reference to the object. When you execute a = "ty", you are actually changing the …

  5. c# - Why .NET String is immutable? - Stack Overflow

    As we all know, String is immutable. What are the reasons for String being immutable and the introduction of StringBuilder class as mutable?

  6. What is immutability and why should I worry about it?

    What is Immutability? Immutability is applied primarily to objects (strings, arrays, a custom Animal class) Typically, if there is an immutable version of a class, a mutable version is also available. …

  7. python - Immutable vs Mutable types - Stack Overflow

    Nov 9, 2011 · What you explain means to me: mutable variables are passed by reference, immutable variables are passed by value. Is this correct ?

  8. What is the difference of immutable and mutable variables?

    Feb 26, 2017 · Immutable variables (or objects) in any programming language is what I understand when you cannot change the value of that variable after it has been assigned a value.

  9. python - Hashable, immutable - Stack Overflow

    From a recent SO question (see Create a dictionary in python which is indexed by lists) I realized I probably had a wrong conception of the meaning of hashable and immutable objects in …

  10. What is difference between mutable and immutable String in java

    Aug 5, 2014 · String class internally holds data in character array. Moreover, class is created to be immutable. Take a look at this strategy for defining immutable class. Shifting the reference …