Question
Question 26: -- Which of the following statements is true? Class Scanner provides the ability to reposition to the beginning of a file with method
Question 26: -- Which of the following statements is true? Class Scanner provides the ability to reposition to the beginning of a file with method seek. Class Scanner provides the ability to reposition to the beginning of a file with method reposition. Class Scanner does not provide the ability to reposition to the beginning of the file. If it is necessary to read a sequential file again, the program can simply keep readingwhen the end of the file is reached, the Scanner is automatically set to point back to the beginning of the file. Flag this Question
Question 27: -- Which of the following classes enable input and output of entire objects to or from a file? SerializedInputStream SerializedOutputStream ObjectInputStream ObjectOutputStream Scanner Formatter
A and B. C and D. C, D, E, F. E and F. Flag this Question
Question 28: -- What interface must a class implement to indicate that objects of the class can be output and input as a stream of bytes? Synchronize Deserializable Serializable ObjectOutput Flag this Question
Question 29: -- Which JFileChooser method returns the file the user selected? getSelectedFile. getFile. getOpenDialog. showOpenDialog. Flag this Question
Question 30: -- The ________ abstract classes are Unicode character-based streams. Reader and Writer BufferedReader and BufferedWriter CharArrayReader and CharArrayWriter UnicodeReader and UnicodeWriter Flag this Question
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started