Step 1: Count carbons and see where the nitrogen sits:
Aniline has six carbons, all in the ring, and nitrogen is bonded to a ring carbon.
A correct method must put N on the ring without adding any carbon outside the ring.
Step 2: Test the two LiAlH$_4$ reactions.
Benzamide and benzonitrile both have one carbon outside the ring, in the group C=O or C$\equiv$N.
$\mathrm{LiAlH_4}$ turns that carbon into a $\mathrm{CH_2}$ group. The product is $\mathrm{C_6H_5CH_2NH_2}$ (benzylamine) with seven carbons, so it cannot be aniline. Options (C) and (D) are out.
Step 3: Test the ammonia reaction.
Aryl halides do not undergo easy nucleophilic substitution. The C-Cl bond is shorter and stronger because of resonance with the ring.
Ethanolic ammonia does not react with $\mathrm{C_6H_5Cl}$ under mild conditions. Option (A) is out.
Step 4: Test the hydrogenation.
Nitrobenzene has N already on the ring as $\mathrm{-NO_2}$. Hydrogen with finely divided Ni removes both oxygens as water and leaves $\mathrm{-NH_2}$.
\[ \mathrm{C_6H_5NO_2 \xrightarrow{H_2/Ni} C_6H_5NH_2} \]
This is the usual preparation of aniline.
Final Answer:
Option (B) is the correct reaction. \[ \boxed{\text{(B)}} \]