to call or execute a method.
a term used to describe the relationship between two methods; a method that invokes another.
a term used to describe the relationship between two methods; a method that is invoked by another.
the programming feature that allows a method name to encapsulate multiple statements.
another name for a method header.
the set of statements between curly braces that follow the method header and carry out the method’s actions.
the actions that execute within a method; the method body.
a method that contains no statements; programmers create stubs as temporary placeholders during the program development process.
defines the circumstances under which a class can be accessed; often used interchangeably with access specifier.
the type of data that, upon completion of a method, is sent back to its calling method.
to send a data value from a called method back to the calling method.
describes a filename that includes the entire hierarchy in which a class is stored.
a data item received by a method.
a principle of object-oriented programming that describes the encapsulation of method details within a class.
describes the part of a method that a client sees and uses; includes the method’s return type, name, and arguments.
a device that can be used solely in terms of input and output without regard to how it works internally.
a variable known only within the boundaries of a method.
a method’s name and the number, types, and order of arguments.
an argument in a method call. Contrast with formal parameter.
a variable in a method declaration that accept the values from actual parameters. Contrast with actual parameter.
a statement that ends a method and frequently sends a value from a called method back to the calling method.
the method’s return type.
statements that cannot be executed because the logical path can never encounter them; in some languages, including Java, an unreachable statement causes a compiler error. See also dead code.
statements that cannot be executed because the logical path can never encounter them; in some languages, including Java, an unreachable statement causes a compiler error. Also called unreachable statements.
a block that contains a nested block.
a block contained in an outer block.
describes the relationship of statements, blocks, or classes when one contains the other.
describes what happens to a variable when it is declared. Contrast with goes out of scope.
describes what happens to a variable at the end of the block in which it is declared. Contrast with comes into scope.
in Java, a variable’s block. See also scope.
to attempt to declare a variable twice—an illegal action.
describes using one term to indicate diverse meanings, or writing multiple methods with the same name but with different arguments.
describes a situation in which the compiler cannot determine which method to use.