Qualcomm interview question

What is the difference between latch and flip-flop?