Step 1: Using Snell's Law.
Snell's law states:
\[
n_1 \sin \theta_1 = n_2 \sin \theta_2
\]
where \( n_1 \) and \( n_2 \) are the refractive indices of the two mediums, and \( \theta_1 \) and \( \theta_2 \) are the angles of incidence and refraction, respectively.
Step 2: Applying the values.
In this case, \( n_1 = \sqrt{2} \), \( n_2 = 1 \), and \( \theta_1 = 45^\circ \). Using Snell's law:
\[
\sqrt{2} \sin 45^\circ = 1 \sin \theta_2
\]
Since \( \sin 45^\circ = \frac{1}{\sqrt{2}} \), we get:
\[
\sqrt{2} \times \frac{1}{\sqrt{2}} = \sin \theta_2
\]
\[
1 = \sin \theta_2
\]
\[
\theta_2 = 90^\circ
\]
Step 3: Conclusion.
The angle of refraction is \( 90^\circ \), so the correct answer is (B).