In the listing 7-1 code the database open() function returns a MyDBAdapter. I couldn't figure out why this function didn't return void, but then in the section "Saving Your To-Do List" item number 6 this function is defined as
Code:
public void open ()
. Which method is preferable, or in what scenarios should you use each one? Thanks for any clarification.