Answer the following questions true (T) or false (F)
1. The FileNotFoundException is a descendant of the class IOException.
2. When your program is finished writing to a file, it should close the stream connected to that file.
1. True
2. True
You might also like to view...
Which Cisco IOS command can be used to display whether an interface is configured as passive?
A) show ip ospf interface passive B) show ip ospf interface brief C) show ip ospf interface D) show ip ospf passive
A server manages the objects a1, a2,... an. The server provides two operations for its clients:
Read (i) returns the value of
Write(i, Value) assigns Value to
The transactions T, U and V are defined as follows:
T: x= Read (i); Write(j, 44);
U: Write(i, 55);Write(j, 66);
V: Write(k, 77);Write(k, 88);
Describe the information written to the log file on behalf of these three transactions if strict two-phase locking is in use and U acquires ai and aj before T. Describe how the recovery manager would use this information to recover the effects of T, U and V when the server is replaced after a crash. What is the significance of the order
of the commit entries in the log file?