-
A _____ is a program module that contains a series of statements that carry out a task.
method
-
When you _____ or _____ a method, you execute it.
-
The _____ makes a _____ that invokes the _____.
- calling method
- method call
- called method
-
_____ are data items sent to methods in a method call.
Arguments
-
_____ are the data items received by a method.
Parameters
-
_____ sends a data value from a called method back to the calling method.
Returning a value
-
_____ is the programming feature that allows you to use a method name to encapsulate a series of statements.
Abstraction
-
The _____ is the first line, or _____.
-
Access modifiers are also called _____.
access specifiers
-
_____ is a principle of object-oriented programming that describes the encapsulation of method details within a class.
Implementation hiding
-
A _____ is a device you can use without understanding how it works.
black box
-
The _____ to a method includes the method's return type, name, and arguments. It is the part that a client sees and uses.
interface
-
A _____ is known only within the boundaries of a method.
local variable
-
A method's _____ is the combination of the method name and the number, types, and order of arguments.
signature
-
_____ are the arguments in a method call.
Actual parameters
-
_____ are the variables in a method declaration that accept the values from actual parameters.
Formal parameters
-
A _____ ends a method, and frequently send a value from a called method back to the calling method.
return statement
-
A _____ is its return type.
method's type
-
_____ are those that cannot be executed because the logical path can never encounter them, an unreachable statement causes a compiler error.
Unreachable statements
-
Unreachable statements are also called _____.
dead code
-
An _____ is the relationship between an object and the class of which it is a member.
is-a relationship
-
An _____ of a class is an object; in other words, it is one tangible example of a class.
instantiation
-
The _____ of a class are its data components.
instance variables
-
_____ are data variables declared in a class outside of my method.
Fields
-
A _____ or _____ is an application or class that instantiates objects of another prewritten class.
-
Classes can be _____, or used as a basis for any other class.
extended
-
Assigning _____ to a field means that no other classes can access the field's values, and only methods of the same class are allowed to set, get, or otherwise use private variables.
private access
-
_____ is the object-oriented programming principle used when creating private access for data fields; a class's private data can be changed or manipulated only by a class's own methods, and not by methods that belong to other classes.
Information hiding
-
_____, those methods usesd with object instantiations, are called _____.
- Nonstatic methods
- instance methods
-
_____ set values.
Mutator methods
-
_____ retrieve values.
Accessor methods
-
The _____ allocates the memory needed to hold an object.
new operator
-
A _____ is the name for a memory address where the object is held.
reference to an object
-
A _____ is a method that establishes an object.
contructor
-
A _____ is a unique identifier for data with a database.
primary key
-
A _____ is one that is created automatically by the Java compiler.
default constructor
-
An _____ is a type whose implementation is hidden and accessed through its public methods.
abstract data type
-
A _____ is one that is created by a programmer and not build into the language.
programmer-defined data type
|
|