The correct answer is B) has.
Explanation: We use "has" with singular subjects like "Ann" in the present perfect tense. The sentence should read: "Ann has got a new hat."