Step 1: Formula-first approach
The $n$th overtone of a closed pipe has $(n+1)$ nodes and $(n+1)$ antinodes.
Step 2: Apply it
For $n=3$ this gives $4$ nodes and $4$ antinodes.
Step 3: Why the other options fail
Three nodes and three antinodes belong to the second overtone (5th harmonic). A closed pipe always has equal numbers of nodes and antinodes, so options B and C are impossible.
Final Answer:
The third overtone has four nodes and four antinodes.
\[ \boxed{\text{(D) }\text{four nodes and four antinodes}} \]