What is important to do to a SQLite database to release any resources obtained by the object so that unexpected errors do not occur in your application during use?

a. Shutdown the database by calling the release() method on the SQLiteOpenHelper object.

b. End any queries by calling the endQuery() method on the SQLiteOpenHelper object.
c. Stop the database by calling the stop() method on the SQLiteOpenHelper object.
d. Close the database by calling the close() method on the SQLiteOpenHelper object.


d. Close the database by calling the close() method on the SQLiteOpenHelper object.

Computer Science & Information Technology

You might also like to view...

Which of the following statements correctly deletes a dynamically-allocated array pointed to by p?

A) delete p; B) p delete[ ]; C) delete [ ] p; D) delete array p; E) None of the above

Computer Science & Information Technology

Access assigns names to control boxes if the Name property for the control is not set when the form is created. _________________________

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

Computer Science & Information Technology

The cell in which you are working is called the ____________________ cell.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

In the New Address List dialog box, you can press [Tab] at the end of the last field to start a new record. _________________________

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

Computer Science & Information Technology