GUI
Data Structures
More Data Structures
Random
More Random
100

What type of manager arranges components in a two-dimensional table?

GridLayout

100

What is the return type of the hasNext() method?

boolean

100

Unlike an array, a(n) ______ can change in size

ArrayList

100

In Java, a derived class can have _____ base class(es).

one

100

What keyword is needed to use an interface?

implements

200

A button component should have a registered ______ associated with it. 

listener

200

What is the first node in a linked list?

head

200

How do you know if a node is the last node of a linked list?

The reference to the next node is null

200

The method that must be implemented in a class using the Comparable interface is:

compareTo()

200

Inheritance indicates a/an _____ relationship

is-a

300

____-driven programming is a programming style that uses the signal and response approach.

Event


300

What does a linked list node contain?

data and a reference to another node

300

What return type does the ArrayList method remove(Object o) have?

boolean

300

What is a class declared within another class called?

 An inner class

300

What is it called when Java automatically reclaims memory?

Garbage Collection


400

A button fires events known as: 

action events

400

To use the Java Iterator Interface you must import the ____ package.

java.util

400

 A private inner class is an example of _______

encapsulation

400

An interface and all of its method signatures are normally declared to be:

public

400

Class and method definitions that include parameters for types are called:

generics

500

The ____ manager places components into five regions

BorderLayout

500

What is it called when you visit the left subtree, the root and then the right subtree?

in-order processing

500

Recursively visiting the root node, left subtree and then the right subtree describes:

pre-order processing

500

What interface do you need to implement when working with binary files?

Serializable

500

What do you call a completely abstract class with empty methods?

an interface

M
e
n
u