This question has options. Does the word "answer" have the same definition in the next two sentences?

Answer the telephone.

Nobody answered when I knocked on the door.

Select from:
(A). different meanings.
(B). the same meaning.
(B).