
Java Programming Quiz

Quiz
•
Other
•
University
•
Hard
LODELIO MILLO
Used 9+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This class is used to create a container similar to a windows form in java?
JLabel
JFrame
JTextField
JButton
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which swing component is commonly used for single line data in Java?
JTextBox
TextField
JTextField
TextBox
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which swing component is commonly used to create clickable buttons in Java GUI applications?
Button
JButton
JCommandButton
CommandButton
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A keyword used to apply an interface in Java
implements
extends
Implement
extend
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A keyword used to apply inheritance in Java
Implements
extends
Implement
extend
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Arjun is customizing a JTextField in his Java application. Which method of a JTextField should he use to assign the text that will be displayed inside the control?
getText()
text()
getLabel()
setText()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which package should you import to handle mouse events in Java?
java.lang
java.awt
java.awt.event
java.event
Create a free account and access millions of resources
Similar Resources on Wayground
54 questions
Câu hỏi về lập trình Android

Quiz
•
University
50 questions
Mob sec quiz 2 practice

Quiz
•
University
50 questions
National 5 Bus Mgt Operations

Quiz
•
KG - University
47 questions
Mid Web

Quiz
•
University
51 questions
Self-Consolidating Concrete Testing Concepts

Quiz
•
University
49 questions
webi

Quiz
•
University
50 questions
Research Questions and Theoretical Framework Development Week 5-

Quiz
•
University
52 questions
TN3 - U6 - Review

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University