When using an ObjectInputStream to read data from a file, what happens when an end-of-file marker is reached?
a. Nothing occurs.
b. An end-of-file character is read by the program.
c. Method readObject returns the value 0.
d. An EOFException is thrown.
d. An EOFException is thrown.
You might also like to view...
Which of the following is the correct way to close a file stream named outFile?
a. outFile.close(); b. outFile.close; c. outFile.close("project.txt"); d. close(outFile);
I have a pointer, nodePtr to a node that is a struct in a linked list. I want to access the member named data. I do this using the expression
a) nodePtr.data b) nodePtr->data c) *nodePtr.data d) (*nodePtr).data e) data is private, you can’t access data under any circumstances.
Create a conceptual schema for Perfect Pets using the concepts of the Enhanced Entity–Relationship (EER) model. To simplify the diagram, only show entities, relationships and the primary key attributes. Specify the cardinality ratio and participation constraint of each relationship type. State any assumptions you make when creating the EER model (if necessary).
What will be an ideal response?
To generate a report of potential accessibility issues use the Accessibility ________
A) Checker B) Function C) Value D) Tool