Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Java Illuminated
Quiz 11: Exceptions, and Input Output Operations
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 61
True/False
Handling a possible illegal operation with a try and catch block will make the code run faster than handling it with a simple if/else construct.
Question 62
True/False
Java does not allow objects to be written to or read from a file.
Question 63
True/False
When an object is written to a file, transient instance variables of that object are not written to the file.
Question 64
True/False
Java provides classes and methods to read data from a remote file (located somewhere on the Internet).
Question 65
Short Answer
Exceptions occur at __________.
Question 66
Short Answer
The class Scanner can be used to __________ a string.
Question 67
Short Answer
For an object of a class to be written to a file, that class must implement the __________ interface.
Question 68
Short Answer
The __________ class encapsulates the concept of a Uniform Resource Locator.
Question 69
Short Answer
__________ formatting is made up of two data structures: key/value pairs and arrays.
Question 70
Essay
Because the readObject method returns a generic object, what must the returned object be?
Question 71
Essay
Tyler wrote a code that includes multiple catch blocks to catch files not found and characters that are not integers. Predict what will happen if a user enters an invalid file and also enters a 1.5 for the integer.