Latches and flip-flops are the basic elements for storing information. One latch or flip-flop can store one bit of information. ... There are basically four main types of latches and flip-flops: SR, D, JK, and T. The major differences in these flip-flop types are the number of inputs they have and how they change state.