Connection conn = connect(); System.out.println("Welcome to the SQL Interpreter"); Statement stmt = null; ResultSet rset = null; try { stmt = conn.createStatement(); while(true) processSQL(stmt); stmt.close(); conn.close(); } catch (SQLException e) { System.err.println("You are a FAILURE"); System.exit(1); }