Solution:
Phenol react with aniline to give diazonium salt by coupling but Methyl amine not react with phenol.
Aniline and methyl amine can be differentiated by
Phenol react with aniline to give diazonium salt by coupling but Methyl amine not react with phenol.