1 pts Question 4 Which of the following statements about a uFileChooser object is true? The JFileChooser object's showOpenDialog method will return the name of the selected file. The JFileChooser object's showOpenDialog method will return a constant value indicating whether the user made a selection or canceled the selection. The JFileChooser object's getFileName method will return the name of the selected file. The JFileChooser object's showOpenDialog method will return a Boolean value indicating whether the user made a selection of canceled the selection. Question 5 1 pts When reading input with a scanner object, which of the following statements is true? The nextInt method consumes only the next number The nextInt method consumes white space and the next number The nextInt method will consume the next number and any white space following it. The nextInt method will fail if there is white space ahead of the next number
Question 6 Which statement about handling exceptions is NOT true? Statements that may cause exceptions should be placed inside a try clause. Statements to handle exceptions should be placed inside a catch clause. Statements to handle exceptions should be placed inside a try clause. If an exception has no handler, the program will be terminated. Question 7 The Printwriter class is an enhancement of the class. Scanner Readstream O PrintStream O File
1 pts Question 4 Which of the following statements about a uFileChooser object is true? The JFileChooser object's showOp
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1 pts Question 4 Which of the following statements about a uFileChooser object is true? The JFileChooser object's showOp
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!