Which method call enables users to specify that a user can select files and directories from a JFileChooser?
A) setFileSelectionMode( FILES_OR_DIRECTORIES ) ;
B) showOpenDialog( FILES_AND_DIRECTORIES ) ;
C) showOpenDialog( FILES_OR_DIRECTORIES ) ;
D) None of the above.
Correct Answer:
Verified
Q2: How do methods setIn,setOut and setErr affect
Q4: Which statement regarding Java files is false?
A)
Q5: Which of the following statements is true?
A)
Q6: Which of the following statements is false?
A)
Q12: Adding the services of one stream to
Q14: Relative paths normally start from which directory?
A)The
Q15: What happens when an end-of-file marker is
Q18: Which of the following classes is not
Q20: A serialized object is _.
A)an object represented
Q21: Which JFileChooser method returns the file the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents