I have a quick question.
I have this method here which says that the variable "worker" is not being used. What kind of syntax would I write below it in order to run it? I have printed a system.out line and it is not running.
SQLWorker worker = new SQLWorker(SQLEngine.UPDATE_HIGH_SCORES) {
@Override
public ResultSet executeSQL(Connection c, PreparedStatement st)
throws SQLException {
System.out.println("part 2");
return null;
}
};
As well as the method not running, Eclipse also says "worker" isn't being used.