QUESTION 31 Using JavaFX, if you want the user to have a drop-down list from whi
ID: 3582436 • Letter: Q
Question
QUESTION 31
Using JavaFX, if you want the user to have a drop-down list from which they can select one or more items, use a(n) __________.
ListView
ComboBox
ListBox
ComboList
2 points
QUESTION 32
When creating an Image object, you can reference either the file name or URL of the image file.
True
False
1 points
QUESTION 33
Using generics with overloaded methods is allowed, as long as the formal parameter types of each erase to the same raw type.
True
False
1 points
QUESTION 34
JavaFX Color objects are immutable, meaning that once created, they cannot be changed.
True
False
1 points
QUESTION 35
Which of the following is not a "built-in" shape with JavaFX?
Circle
Spiral
Rectangle
Ellipse
2 points
QUESTION 36
A constructor in an abstract class can never be called (invoked.)
True
False
1 points
QUESTION 37
The main reason for using generics is that they allow some errors to be detected at compile time rather than runtime.
True
False
1 points
QUESTION 38
A main() method is required to run a non-JavaFX application.
True
False
1 points
QUESTION 39
A JavaFX ToggleGroup object does not display on the GUI.
True
False
a.ListView
b.ComboBox
c.ListBox
d.ComboList
Explanation / Answer
Q 31: ComboBox
Q 32: true
Q 33: true
Q 34: true
Q35: Spiral
Q36: false // you can called the abstract class constructor through the concrete class that implements it.
Q37: true // this is one of the reasons but also for 1. Elimination of casts. 2. Enabling programmers to implement generic algorithms.
Q 38: true // yes main method is needed for non-javaFX application whereas JavaFX doesnt need one
Q 39: true // Controls are added within Togglegroup which are displayed on UI
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.