Results 1 to 2 of 2

What is mutable?

This is a discussion on What is mutable? within the Programming forums, part of the Web Designing & Development category; When we declare const, the members in the data cannot be changed. If we require to change one of the ...

  1. #1
    Senior Member chinmay.sahoo's Avatar
    Join Date
    Dec 2013
    Location
    Banglore
    Posts
    266

    Thumbs up What is mutable?

    When we declare const, the members in the data cannot be changed. If we require to change one of the data then we can declare to be mutable. It specify that the member can be updated even it is member of the constant object.

  2. #2
    Senior Member
    Join Date
    Jan 2012
    Posts
    2,014

    Default Re: What is mutable?

    Mutable and immutable are English words meaning "can change" and "cannot change" respectively. The meaning of the words is the same in the IT context; i.e. a mutable string can be changed, and. an immutable string cannot be changed.

Tags for this Thread