${\text{Propanoic acid }}\xrightarrow{{SOC{l_2}}}X\xrightarrow{{N{H_3}}}Y\xrightarrow{{B{r_2} + KOH}}Z$
What is the compound $Z$






$B.$ $N , N$ -Dimethylaniline
$C.$ N-Methyl aniline
$D.$ Benzenamine
Choose the correct order of basic nature of the above amines.