Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
A naming convention refers to a set of rules or guidelines for how variables, methods, classes, or other elements in code should be named. It helps make code more consistent and easier to understand.
In object-oriented programming, a class serves as a blueprint for creating objects. It defines the properties and behaviors that objects of that class will have.
Identifier: An identifier is a name used to identify entities such as variables, methods, classes, etc., in programming languages. Identifiers must follow specific rules defined by the language's syntax.