Services
Discover
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Java Programming From Problem Analysis to Program Design
Exam 6: Graphical User Interface GUI and Object-Oriented Design OOD
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
True/False
GUI components are placed in a window called JFrame.
Question 22
True/False
In Java, data members are also known as fields.
Question 23
True/False
Every window has a title, width, and height.
Question 24
True/False
The class ActionListener contains only one method, actionEvent.
Question 25
True/False
The GridLayout manager arranges GUI components in a list formation.
Question 26
Multiple Choice
Which class is part of the package java.awt?
Question 27
Multiple Choice
Which of the following from the window above is a JButton?
Question 28
Multiple Choice
To display a window, you must invoke the method ____.
Question 29
Multiple Choice
Write a program that takes as input the pay rate and hours worked of an employee and calculates the pay of the employee.Based on the problem statement above, which of the following would most likely be chosen as the class?
Question 30
True/False
The height and width of a window are measured in inches.
Question 31
Multiple Choice
A(n) ____ is a method of a class that is automatically executed when an object of the class is created.
Question 32
Multiple Choice
If Shape is a class and you create a new class Rectangle that extends Shape, then Shape is a(n) ____ and Rectangle is a(n) ____.Which word goes in the second blank of the sentence above?