Question: what is difference between constant and immutable?
Answer: Constant often has a very specific meaning in different programming languages. ... An immutable object is a constant object in the sense that its properties can never be changed, but of course an object pointed to by a constant variable can still be changed.