Lecture 17
10
LoginInterpreter
•The object that listens for user responses to the login: prompt
•public void CLIlogin( )  { // (line 55)
•   welcome();
•   boolean moreWork = true;
•   while( moreWork ) {
•      moreWork = interpret(                                                                                                                  console.readLine("Juno login: " ));
•   }
•}
read a line from the console, interpret it, loop until interpret returns false