The name refers to a unique identifier given to an entity, such as a variable or a method, in a programming language. It helps distinguish one entity from another.
Think of the name as your own personal nickname. Just like how your nickname helps people recognize and differentiate you from others, the name in programming serves the same purpose.
Identifier: An identifier is any sequence of characters used to identify a variable, function, class, module, or other entity in programming.
Variable: A variable is a named storage location that holds data and can be manipulated during program execution.
Method: A method is a set of instructions grouped together under a single name that performs a specific task when called.
Study guides for the entire semester
200k practice questions
Glossary of 50k key terms - memorize important vocab
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.