Exit Slides

Variable

overview

Remember these Terms

  • Variable - a named box that holds a value.
  • Declaration - tells the program a variable exists.
  • Initialization - gives the variable its first value.
  • Assignment - sets or changes the value using =.
  • Type - the kind of data, like number, text, or boolean.
  • Scope - where in code the variable can be used.
  • Constant - a variable whose value should not change.
  • Mutability - whether the variable’s value can change.
← Prev Topic Slide 1 / 2