Question: why jk flip flop is used in counters?
Answer: The J-K Flip-flop is one of the most versatile and widely used flip-flops. The most prominent reason behind using it as a counter is its toggle operation. If J and K are both high at the clock edge then the output will toggle from one state to the other. Thus, it can function as D Flip-flop.