A simple example of the differnce. If you take a
D-type flip-flop and
connect the output to a NOT gate and the output of that back to the D
input, then you get a divide-by-2-circuit. Feed in a regular clock at one
frequency and the Q output will toggle at half that frequency. But if you
A clocked JK with the JK held high will perform the same function.
Of course (a proverb involving grandmothers and sucking eggs springs to
mind :-)).
But the OP asked what was the difference between a D-type flip-flop and a
(D-type transparent) latch. No mention of JK flip-flops.
-tony