Assume you have opened and connected stream variables fileIn and fileOut. Assume further that you have finished with the input and output files. Write the statements necessary to close these files.

What will be an ideal response?


The calls to close are written:
fileIn.close();
fileOut.close();

Computer Science & Information Technology

You might also like to view...

1. An event is ___.

A. something that happens, such as mouse clicks, keystrokes, and touches (for touch enabled devices), while a program is running and interrupts the program’s flow B. an object that listens for things, such as mouse clicks, keystrokes, and touches (for touch enabled devices) C. a function that will be executed when mouse clicks, keystrokes, or touches (for touch enabled devices) occur

Computer Science & Information Technology

Outlook allows you to store a lifetime list of contacts.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A mouse is an example of a(n) ______ device.

A. output B. pointing C. processing D. display

Computer Science & Information Technology

Which of the following is NOT a service level for the cloud??  ?

A. ?Platform as a service B. ?Infrastructure as a service C. ?Virtualization as a service D. ?Software as a service

Computer Science & Information Technology