Higher the pKb value, weaker is the base

Presence of -CH3 group in the ring will increase the basic character as it is an electron releasing group. Presence of -NO2 group in the ring will decrease the basic character as it an electron withdrawing group. Thus p-nitro aniline will have largest value of pKb.