Java Programming

Computing

Quiz 6 :

Graphical User Interface Gui and Object-Oriented Design OOD

Quiz 6 :

Graphical User Interface Gui and Object-Oriented Design OOD

Question Type
search
arrow
The class ActionListener contains only one method, actionEvent.
Free
True False
Answer:

Answer:

False

Tags
Choose question tag
close menu
arrow
GUI components are placed in a window called JFrame.
Free
True False
Answer:

Answer:

True

Tags
Choose question tag
close menu
arrow
In Java, extends is a reserved word.
Free
True False
Answer:

Answer:

True

Tags
Choose question tag
close menu
arrow
The GridLayout manager arranges GUI components in a list formation.
True False
Answer:
Tags
Choose question tag
close menu
arrow
When you click a JButton, an event, known as an action event, is created.
True False
Answer:
Tags
Choose question tag
close menu
arrow
In object-oriented design, the verbs in the problem specification can be used to identify the objects in the program.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The first step in solving a problem using object-oriented design is to identify objects.
True False
Answer:
Tags
Choose question tag
close menu
arrow
Whenever there is a superclass-subclass relationship, the superclass inherits all data members and methods of the subclass.
True False
Answer:
Tags
Choose question tag
close menu
arrow
JTextFields are used to get input, but not show output.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The method addWindowListener is included in the class JFrame.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The class Container is included in the package java.awt.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The class JFrame contains the method setSize.
True False
Answer:
Tags
Choose question tag
close menu
arrow
In object-oriented design, the nouns found in the problem specification can be used to select the operations in the program.
True False
Answer:
Tags
Choose question tag
close menu
arrow
If lengthTF is a JTextField and pane is a container, then the statement pane.add(lengthTF); adds the text field to the content pane of a window.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The height and width of a window are measured in inches.
True False
Answer:
Tags
Choose question tag
close menu
arrow
In Java, there is one way to make an application program create a window.
True False
Answer:
Tags
Choose question tag
close menu
arrow
An interface is a class that contains only the method headings and each method heading is terminated with a semicolon.
True False
Answer:
Tags
Choose question tag
close menu
arrow
In Java, data members are also known as fields.
True False
Answer:
Tags
Choose question tag
close menu
arrow
Every window has a title, width, and height.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The method getContentPane of the class JFrame is used to access the content pane of the window.
True False
Answer:
Tags
Choose question tag
close menu
Showing 1 - 20 of 50