JAVA 1. ________________________ interfaces are implemented to wait for certain
ID: 3774391 • Letter: J
Question
JAVA
1. ________________________ interfaces are implemented to wait for certain events to occur and then trigger methods or other code when that specific event occurs.
Listener
Method
Object
Exception
2. The framework used for Java GUIs in this course is called ______________________
JavaGUI
Swing
JavaFX
JFrame
3. Which GUI component allows you to place other components in relation to each other using row and column numbers?
PaneInTheNeck
JPane
GridPane
RowPane
4. One choice in a menu (eg, "Exit") is represented by an object of the class
Menu
MenuItem
MenuPane
MenuBar
5. When writing unit tests of the methods in a class, you should
create a new instance of the class for each test
create one instance and reuse it in multiple tests
never create an instance of the class
JData
Explanation / Answer
Answer :
1. ________________________ interfaces are implemented to wait for certain events to occur and then trigger methods or other code when that specific event occurs.
Listener
Method
Object
Exception
Answer :
Listener
Explanation :
Listener interfaces are implemented to wait for certain events to occur and then trigger methods or other code when that specific event occurs.
................
2. The framework used for Java GUIs in this course is called ______________________
JavaGUI
Swing
JavaFX
JFrame
Answer :
Swing
Explanation :
The framework used for Java GUIs in this course is called Swing.
......................
3. Which GUI component allows you to place other components in relation to each other using row and column numbers?
PaneInTheNeck
JPane
GridPane
RowPane
Answer :
GridPane
Explanation :
GridPane GUI component allows you to place other components in relation to each other using row and column numbers.
.................
4. One choice in a menu (eg, "Exit") is represented by an object of the class
Menu
MenuItem
MenuPane
MenuBar
Answer :
MenuBar
Explanation :
One choice in a menu (eg, "Exit") is represented by an object of the class MenuBar.
..................
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.