Concept:
JK flip-flop is an improvement over SR flip-flop.
Step 1: Truth table condition
Toggle occurs when:
\[
J = 1,\quad K = 1
\]
Step 2: Behavior
Output toggles:
\[
Q_{next} = \overline{Q}
\]
Step 3: Clock pulse effect
On each clock pulse, output flips state.
Step 4: Interpretation
Both inputs must be active.
Step 5: Conclusion
\[
\boxed{J \text{ and } K}
\]
Final Answer:
\[
\boxed{(D)}
\]