This site is 100% ad supported. Please add an exception to adblock for this site.

Java Terms

Terms

undefined, object
copy deck
A class that contains one or more methods that have no implementation, and therefore can never be instantiated. These classes are defined so that other classes can extend them and make them concrete by implementing their methods.
abstract class
A type that defines the implementation of a particular kind of object.
class
An event during program execution that prevents the program from continuing normally; generally, an error. The Java programming language supports these with the try, catch, and throw keywords.
exception
A Java keyword included in the class declaration to specify any interfaces that are used by the current class.
implements
An object of a particular class. An ________ of a class is created using the new operator followed by the class name.
instance
A data item specified in a method call. It can be a literal value, a variable, or an expression.
argument
The basic representation of any integer, floating point, or character value.
literal
A pseudo-method that creates an object. In the Java programming language, these are instance methods with the same name as their class. They are invoked using the new keyword.
constructor
Describes a program that is designed to have parts of its code execute concurrently.
multithreaded
If class X _______ class Y to add functionality, either by adding fields or methods to class Y, or by overriding methods of class Y. Class X would be a subclass of class Y.
extends
Providing a different implementation of a method in a subclass of the class that originally defined the method.
overriding
A Java keyword used at the beginning of a source file that can specify classes or entire packages to be referred to later without including their package names in the reference.
import
Characteristics of an object that users can set, such as the color of a window.
property
A two-argument Java keyword that tests whether the runtime type of its first argument is assignment compatible with its second argument.
instanceof
A characteristic of an identifier that determines where the identifier can be used. Most identifiers in the Java programming environment have either class or local _____.
scope
Explicit conversion from one data type to another.
casting
A data item known within a block, but inaccessible to code outside the block. For example, any variable defined within a method is a _____ _______ and can't be used outside the method.
local variable
A class from which a particular class is derived, perhaps with one or more classes in between.
superclass
The technique of hiding the details of the implementation of an object, while making its functionality available to other objects.
encapsulation
Each ______ is a programming unit consisting of data (instance variables) and functionality (instance methods).
object
A classification of relationships in which each item except the top one (known as the root) is a specialized form of the item above it. Each item can have one or more items below it.
hierarchy
A keyword in the Java programming language that, when applied to a method or code block, guarantees that at most one thread at a time executes that code.
synchronized
A variable data type in which the variable's value is of the appropriate size and format for its type. These data types include various integer, floating-point, boolean and string types.
primitive type
The concept of classes automatically containing the variables and methods defined in their supertypes.
inheritance
A Java keyword used in a method or variable declaration. It signifies that the method or variable can only be accessed by elements residing in its class, subclasses, or classes in the same package.
protected
A class or interface
type
A Java keyword used to define a collection of method definitions and constant values. It can later be implemented by classes that define it with the "implements" keyword.
interface
The standardized relational database language for defining database objects and manipulating data.
Structured Query Language (SQL)
An object that encapsulates and delegates to another object to alter its interface or behavior in some way.
wrapper
A function defined in a class.
method
A class that is derived from a particular class, perhaps with one or more classes in between.
subclass
Using one identifier to refer to multiple items in the same scope. In the Java programming language, you can this can be used with methods but not variables or operators.
overloading
A Java keyword used in a method or variable declaration. It signifies that the method or variable can only be accessed by other elements of its class.
private
The basic unit of program execution. A process can have several of these running concurrently, each performing a different job, such as waiting for events or performing a time-consuming job that the program doesn't need to complete before going on.
thread
A Java keyword used in a method or variable declaration. It signifies that the method or variable can be accessed by elements residing in other classes.
public
An item of data named by an identifier. Each ________ has a type, such as int or Object, and a scope.
variable
A Java keyword used to define a variable as a class variable. Classes maintain one copy of class variables regardless of how many instances exist of that class. It can also be used to define a method as a class method. Class methods are invoked by the cl
static
A collection of graphical user interface (GUI) components that runs uniformly on any native platform which supports the Java virtual machine. Because they are written entirely in the Java programming language, these components may provide functionality a
Swing
A Java keyword used in method declarations that specify which exceptions are not handled within the method but rather passed to the next higher level of the program.
throws
A Java keyword used in method declarations to specify that the method does not return any value. It can also be used as a nonfunctional statement.
void

Deck Info

40

permalink