/**
 * Created by loomisdf on 4/10/2016.
 */
public class Main {
    public static void main(String[] args) {
        System.out.println("hello world!!!!!!");
    }
}

@@ -42,121 +42,1605 @@
  */%0A
-public class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(%22hello world!!!!!!%22);
+%0Aimport java.sql.Connection;%0Aimport java.sql.DriverManager;%0Aimport java.sql.ResultSet;%0Aimport java.sql.SQLException;%0Aimport java.sql.Statement;%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        // load the sqlite-JDBC driver using the current class loader%0A        try %7B%0A            Class.forName(%22org.sqlite.JDBC%22);%0A        %7D catch (ClassNotFoundException e) %7B%0A            e.printStackTrace();%0A        %7D%0A%0A        Connection connection = null;%0A        try %7B%0A            // create a database connection%0A            connection = DriverManager.getConnection(%22jdbc:sqlite:data.db%22);%0A            Statement statement = connection.createStatement();%0A            statement.setQueryTimeout(30);  // set timeout to 30 sec.%0A%0A            ResultSet rs = statement.executeQuery(%22SELECT * FROM GAME%22);%0A            while (rs.next()) %7B%0A                // read the result set%0A                System.out.println(%22Id = %22 + rs.getInt(%22id%22));%0A                System.out.println(%22Title = %22 + rs.getString(%22name%22));%0A                System.out.println(%22Price = %22 + rs.getInt(%22price%22));%0A                System.out.println();%0A            %7D%0A        %7D catch (SQLException e) %7B%0A            // if the error message is %22out of memory%22,%0A            // it probably means no database file is found%0A            System.err.println(e.getMessage());%0A        %7D finally %7B%0A            try %7B%0A                if (connection != null)%0A                    connection.close();%0A            %7D catch (SQLException e) %7B%0A                // connection close failed.%0A                System.err.println(e);%0A            %7D%0A        %7D
 %0A   

add code for connecting to the database