Answer: D
The allyl cation CHX2=CH−CHX2X+ is stabilised by delocalisation of the positive charge over two carbons (two resonance structures). The other three cations have no resonance, and their stability falls as the number of alkyl groups decreases. Hence the allyl cation is the most stable.