After I answered this question a commenter questioned why I would bother to answer a question "that can be answered simply by reading the documentation".
Is it ok to answer downvoted questions? has an extensive discussion about answering bad/downvoted questions, but seems to focus more on questions that are unclear, or lack the information to answer them.
In this case, the question is very specific and clear, but the answer could easily be found by reading the javadoc.
I can't think of an applicable close reason for this question, but it's a poster child for a downvote due to the "This question does not show any research effort" part of the mouseover text.
Should I delete my answer and vote to close the question with a custom close reason along the lines of "Doesn't show any effort", so that it can be deleted, or just leave it?
Edit 1
There seems to be a lot of concern that I would post an answer that effectively boils down to "RTFM, it's right here".
My first thought was that a question this basic would surely have been asked and answered multiple times before, so I just needed to find an appropriate duplicate so I could vote to close. After all, doing something one time in the future after a delay is not exactly an uncommon situation.
However, a google search on "schedule a task to run one time with java" came back with a link to the Timer API, a bunch of links about scheduling a task to run periodically.
Since there didn't seem to be any duplicate already in existence, I went ahead and answered the question, so that future googlers would see something more useful for this specific situation.
Edit 2
I'm not asking for a new close reason, or a "no comment" close reason. I'm perfectly happy to create a custom "off-topic" close reason, or just use "too broad" like everyone else did.
I'm trying to ask whether or not I should leave an answer on a bad question, or go ahead and delete my answer so that the question can be automatically deleted due to its high negative vote count.
Edit 3
The general consensus seems to be that any answer on a bad question is not a good idea. Rather than trying to fix the OP's question (which has been deleted), I just went ahead and wrote my own, so that I could put a proper answer on it.
TL;DR: When is it justified to answer a bad question?