Q: 1. When an exception is generated, it is said to
1. When an exception is generated, it is said to have been. 1. built 2. thrown 3. caught 4. killed 2. This is a section of code that gracefully responds to exceptions. 1. exception generator 2. excep...
See AnswerQ: Write a statement that instantiates the Rectangle class, and uses the
Write a statement that instantiates the Rectangle class, and uses the constructor to draw a rectangle with its upper-left corner at (100, 200), with a width of 175, and a height of 150.
See AnswerQ: 11. This method may be called from any exception object,
11. This method may be called from any exception object, and it shows the chain of methods that were called when the exception was thrown. 1. printInvocationList 2. printCallStack 3. printStackTrace 4...
See AnswerQ: 21. True or False: When an exception is thrown,
21. True or False: When an exception is thrown, the JVM searches the try statement’s catch clauses from top to bottom and passes control of the program to the first catch clause with a parameter tha...
See AnswerQ: 1. The primary purpose of this type of control is to
1. The primary purpose of this type of control is to display text. 1. Button 2. Label 3. Message 4. Text 2. This type of control appears as a rectangular region that can accept keyboard input from th...
See AnswerQ: 11. You use this class to actually display an image.
11. You use this class to actually display an image. 1. ImageView 2. ImageLoader 3. Image 4. Img 12. The EventHandler interface specifies a method named ___. 1. register 2. onClick 3. fire 4. handle...
See AnswerQ: 1. When a selector name starts with a period in a
1. When a selector name starts with a period in a JavaFX CSS style definition, it means the selector corresponds to ____. 1. specific variable names in the application 2. specific types of JavaFX node...
See AnswerQ: 11. The ____ control presents its items in a drop-
11. The ____ control presents its items in a drop-down list.. 1. DropList 2. ListView 3. ComboBox 4. ItemList 12. Both the ListView control and the ComboBox control keeps its list of items in a(n) __...
See AnswerQ: 21. True or False: By default, ListView controls are
21. True or False: By default, ListView controls are oriented horizontally. 22. True or False: By default, TextArea controls perform line wrapping. 23. True or False: A MenuBar object acts as a cont...
See AnswerQ: 1. Line, Circle, and Rectangle are subclasses of the
1. Line, Circle, and Rectangle are subclasses of the ___ class. 1. Sprite 2. Geometry 3. BasicShape 4. Shape 2. Assume myCircle is a Circle object. Which of these statements causes myCircle to not be...
See Answer