Java Games: Flashcards, matching, concentration, and word search.

Java Chapter 3

AB
abstract data typea type whose implementation is hidden and accessed through its public methods
abstractionthe programming feature that allows you to use a method name to encapsulate a series of statements
access modifiersometimes used as another term for access specifier
accessor methodsmethods that retreive values
actual parametersthe arguments in a method call
argumentsdata items sent to methods in a method call
black boxa device you can use without understanding how it works
callto execute a method
calling methoda method that makes a method call; the calling method invokes the called method
class clientan application or class that instantiates objects of another prewritten class; also called a class user
class useran application or class that instantiates objects of another prewritten class; also called a class client
client methoda method that calls another
constructora method that establishes an object
data fieldsdata variables declared in a class outside of any method
dead codea set of statements that are logically unreachable
declarationthe first line of the method and contains information about how other methods can interact with it; also known as a method header
default constructora constructor that is created automatically by the Java compiler
extendto use one class as a basis for any other class
formal parametersthe variables in a method declaration that accept the values from actual parameters
fully qualified identifierincludes a class name and a dot before the identifier
implementationthe actions that execute within a method; the method body
implementation hidinga principle of object-oriented programming that describes the encapsulation of method details within a class
information hidingthe 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
instance methodsmethods used with object instantiations
instance variablesa class's data components
instantiationa tangible example of a class; an object of a class
interfacethe part of a method that a client sees and uses; includes the method’s return type, name, and arguments
invoketo execute a method
is a relationshipthe relationship between an object and the class of which it is a member
local variablea variable known only within the boundaries of a method
methoda program module that contains a series of statements that carry out a task
method bodythe set of statements between curly braces that follow the header and that carry out the method’s actions
method headerthe first line of the method and contains information about how other methods can interact with it; also known as a declaration
mutator methodsmethods that set values
new operatoran operator that allocates the memory needed to hold an object
nonstatic methodsmethods used with object instantiations
parametersthe data items received by a method
primary keya unique identifier for data within a database
private accessno other classes can access a field’s values; only methods of the same class are allowed to set, get, or otherwise use private variables
programmer-defined data typea data type that is created by a programmer and not built into the language
reference to an objectthe name for a memory address where the object is held
return statementa statement that ends a method and frequently sends a value from a called method back to the calling method
return typethe type of data that, upon completion of the method, is sent back to its calling method
signaturethe combination of the method name and the number, types, and order of arguments
stuba method that contains no statements; programmers create stubs as temporary placeholders during the program development process
to return a valueto send the value from a called method back to the calling method
unreachable statementsstatements that cannot be executed because the logical path can never encounter them; these statements cause compiler errors

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities