Solution:
Concept: Compare each ray's angle of incidence at the water surface with the critical angle (48° here): less, refraction; equal, grazing; more, total internal reflection.
Step 1 — Ray A.
It strikes the surface normally (i = 0°), so it passes into air without bending.
Step 2 — Ray B.
It strikes the surface at 48°, the critical angle. So the angle of refraction is 90° and the ray grazes along the water surface.

Step 3 — Conditions for total internal reflection.
(1) The ray must travel from water (denser) towards air (rarer), as both rays here do. (2) Its angle of incidence must be greater than 48°; then it does not come out at all but is reflected back into the water.
Therefore, A goes straight out, B grazes the surface, and a ray is totally reflected if it travels from water to air at an angle of incidence greater than 48°.