What are constants?
You can call the immutable variables as constants. The value of a constant once defined remains the same and we cannot change it. This is the value that you introduce during the declaration. For example, const Y= 6.0. This value of Y would continue to be 6 throughout and it won’t be changed.
BY Best Interview Question ON 06 Oct 2019