Which of the two is more basic and why?

p-methyl aniline is more basic than aniline. There is a lone pair on nitrogen in –NH2 but p-methyl aniline has a +R group in para position which makes it more basic due to resonance.
AI is thinking…
Couldn't generate an explanation.
Generated by AI. May contain inaccuracies — always verify with your textbook.