
INTRODUCTION
Authored by Ahmad Syahmi
Education
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements best describes the Abstract Window Toolkit (AWT)?
AWT is a programming language used for building graphical user interfaces.
AWT is a set of tools and libraries provided by Java for creating platform-independent graphical user interfaces.
AWT is a data transfer protocol used for communication between different programming languages.
AWT is a database management system used for storing and retrieving information.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To build a frame window in a Java program using AWT, which class should you extend?
JFrame
FrameWindow
AWTFrame
WindowBuilder
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class should you use to create a menu bar in a Java program using AWT?
MenuBar
JMenuBar
AWTMenuBar
MenuBuilder
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which layout manager is commonly used in Java AWT for arranging components in a container with a grid-like structure?
BorderLayout
GridLayout
FlowLayout
CardLayout
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To handle events in Java AWT, which interface should your class implement?
ActionListener
EventListener
EventHandler
EventProcessor
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which AWT class represents this component?
Checkbox
Button
Combo box
Radio Button
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about the given code?
The code creates a frame window with the title "My Window" and a menu bar.
The code creates a frame window with the title "My Window" but does not include a menu bar.
The code creates a frame window with no title and a menu bar.
The code creates a frame window with no title and does not include a menu bar.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?