Skip to main content
Engineering LibreTexts

12.10: Vocabulary

  • Page ID
    18811
  • argument:
    A value that you provide when you invoke a method. This value must have the same type as the corresponding parameter.
    invoke:
    To cause a method to execute. Also known as “calling” a method.
    parameter:
    A piece of information that a method requires before it can run. Parameters are variables: they contain values and have types.
    flow of execution:
    The order in which Java executes methods and statements. It may not necessarily be from top to bottom, left to right.
    parameter passing:
    The process of assigning an argument value to a parameter variable.
    local variable:
    A variable declared inside a method. Local variables cannot be accessed from outside their method.
    stack diagram:
    A graphical representation of the variables belonging to each method. The method calls are “stacked” from top to bottom, in the flow of execution.
    frame:
    In a stack diagram, a representation of the variables and parameters for a method, along with their current values.
    signature:
    The first line of a method that defines its name, return type, and parameters.
    Javadoc:
    A tool that reads Java source code and generates documentation in HTML format.
    documentation:
    Comments that describe the technical operation of a class or method.
    • Was this article helpful?