Flashcards in Chapter 6 - Methods Deck (28):
means paying attention to important properties while ignoring nonessential details.
the process of breaking down a large program into modules
The feature of modular programs that allows individual modules to be used in a variety of applications
includes the method identifier and possibly other necessary identifying information.
Method Header (methods declaration)
contains all the statements in the method.
Methods body (methods implementation)
marks the end of the method and identifies the point at which control returns to the calling program or method.
is the feature of programs that assures you a module has been tested and proven to function correctly
SOC stands for?
Service Oriented Computing
SOAP stands for?
Simple Object Access Protocol
methods that require information to be sent in from the “outside” (user input or other programs) are called ?
When you call a method using a value within its parentheses, the value is an
When you want to retain a value that exists in a method, you can ______the value from the method
A method can return nothing, in which case the return type is usually indicated as_____?
Void (Void Method)
A variable passed into a method is a?
passed by value
When you make a request to a method, you don’t know the details of how the method is executed
(The encapsulation of method details) what is this called?
Data items are _______ only within the method or program in which they are declared
Variables and constants declared within a method are __ _____ only within that method
The scope of a variable or constant is _____ to the method or program in which it is declared
When variables and constants are declared within the methods that use them, the methods are more _______.
________ variables and constants are those that are known to the entire program
Variables and constants that are declared outside any method are declared at the ______ level?
______ states that a task’s instructions and its data should be contained in the same method
A data item is ________ when it is __ ______.
A variable passed into a method is passed by _______________; that is, a copy of its value is sent to the method and stored in a new memory location accessible to the method.
You can pass multiple arguments from calling method to a called method by listening arguments within the method call and separating them with______.
A comma separates each parameter, and each requires its own declarared________ (in case, both are numeric) as well as its own identifier.
When you want to retain a value that exists in a method, you _____ the value from the method.