This document provides an overview of key concepts in object-oriented programming including stacks, variables, functions, and memory requirements. It discusses stacks and call stacks, defines variables as identifiers for values, and explains different data types have different memory requirements like integers using 4 bytes and doubles using 8 bytes. The document also covers function basics like return types, parameters, and names. It explains functions can be called by reference, passing the address where a value is stored, or by value making a copy of the parameters.
5.
Variables
A variable is an IDENTIFIER for a VALUE
IDENTIFIERS = (KEY WORDS) U
(QUALIFIED IDENTIFIERS)
QUALIFIED ID = (Var Names) U (Class
names) U (Function names) U ...