Multiple Choice
What does the following statement do? Image puppy = new Image("file:C:\\images\terrier.j p g ") ;
A) It creates an instance of the ImageView class with the terrier. J p g file passed to the constructor.
B) It loads an image named "images\terrier.j p g " and stores the image in the Image variable.
C) It loads an image file named terrier. j p g which is found in the images folder on the user's C-drive.
D) Nothing; it is not possible to include a path to a file when using the Image class.
Correct Answer:

Verified
Correct Answer:
Verified
Q2: To display an image in a JavaFX
Q5: Select all that apply. Which of the
Q16: If you set a scene's size to
Q17: When programming in JavaFX, you should think
Q24: Select all that apply. Given the statement
Q29: The command line interface is an event-driven
Q33: Padding is space that appears around the
Q39: Select all that apply. Which of the
Q40: If a BorderPane region does not contain
Q42: One important difference between the command line