JK flip flop can function as a T flip flop when both J and K inputs are connected together (J=K). When J=K=0, the flip flop maintains its state (Q stays same). When J=K=1, it toggles (Q changes), which is exactly the behavior of a T flip flop where T=0 holds and T=1 toggles.