Flip-flops work on the principle of static memories that use positive feedback to create bistable circuit (back to back inverters feeding each other) – which have two stable states i.e. logic 0 and ...