Step 1: Understanding the Concept
\(\text{AgNO}_2\) is largely covalent, so nitrogen (not oxygen) bonds to carbon, giving a nitroalkane.
Step 2: Step 1
\(\text{CH}_3\text{Br} + \text{AgNO}_2 \rightarrow \text{CH}_3\text{NO}_2 + \text{AgBr}\)
So A is nitromethane.
Step 3: Step 2
Sn/HCl reduces the nitro group to an amino group:
\(\text{CH}_3\text{NO}_2 \xrightarrow{\text{Sn/HCl}} \text{CH}_3\text{NH}_2\)
So B is methylamine.
Final Answer:
A is CH3NO2 and B is CH3NH2.
\[ \boxed{\text{(B) }\text{CH}_3\text{NO}_2\text{ and CH}_3\text{NH}_2} \]