Constants

Definition

• Identifier for a value that does not change once defined

Naming

• Start with a letter or underscore, are case sensitive, contain only alphanumeric characters and underscores
• By convention use only uppercase letters

Access

• May be defined and accessed anywhere in a program • must be defined before use; cannot be changed subsequently

Leave a Reply

Your email address will not be published. Required fields are marked *