Introduction
Constants hold values that do not change. In classes, they keep important fixed information easy to find and use.
When you want to store a fixed value like a tax rate used by all objects of a class.
When you need a label or name that stays the same for every instance.
When you want to avoid repeating the same value in many places in your code.
When you want to make your code easier to read by giving a meaningful name to a fixed value.