Which sentence best describes the logic of scientific inquiry?
(A) If I generate a testable hypothesis, tests and observations will support it.
(B) If my prediction is correct, it will lead to a testable hypothesis.
(C) If my observations are accurate, they will support my hypothesis.
(D) If my prediction turns out to be correct, my hypothesis is supported.