Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/40

Click to flip

40 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)
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
It defines variables and methods, as well as specifying the interfaces it implements and the it's immediate superclass. If the superclass is not explicitly specified, the superclass will implicitly be Object.
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
An interface _______ another interface by adding methods.
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
The principal building blocks of Object Oriented Programming.
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
In the Java class, the root is the Object class.
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
Unless specified otherwise, it is not static.
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 class instead of a specific instance, and can only operate on class variables.
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 above and beyond that provided by native-platform equivalents.
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