With no explanation, chose the best option from "A" or "B". John makes an unplanned stop at his friends house. John wants to know if anyone is home.

A: John looks through the window to see if anyone is home.
B: John rings the doorbell to alert any occupants to his presence.
B.