Which of the following is the better hand:

A   B  
       

Hand B is the better hand. Both hands have 2 pair. Hand A has pairs of Kings and Queens. Hand B has pairs of Twos and Aces. When two hands both have two pairs, it is the hand with the highest pair which wins. Here hand B's highest pair is Aces, higher than hand A's Kings.

Which of the following is the better hand:

A   B  
       

Hand B is the better hand. Hand B has a full house (three Threes and two Nines), whereas hand A only has three Jacks.