Module 5 Flashcards
A method that does not return a value when the task has completed
subroutine
A parameter which is not required by the called method but if included it can be used it must contain a default value
Optional parameter
Terminates execution of the subroutine and tells the program to return to the calling program
Return
A method with the same name as another method but which contains a different parameter list
overloading
A copy of a variable is made and passed to the called method. Changes to the copied variable do not affect the value of the original variable
Pass-by-value
A variable which is only known within the madhouse in which it is declared
Local Variable
A statement used in a subroutine to leave the subroutine if a specific condition or error occurs
Exit
The values being passed to the called method
Parameter
Performs tasks and can return information when the task has completed
Method
A variable is passed to the called method and the called method has access and is able to modify the original variable directly
Pass-by-reference
A method which will return a value to the calling routine once the task has completed
Function
A variable which is known throughout an entire program
global variable