No the salivary glands are exocrine glands because they secrete into a duct that carries the secretion to the body surface or to one of the body cavities.
I think the student wanted to ask about the difference between an exocrine and endocrine gland but mistakened and wrote both the same.
Exocrine gland differ from Endocrine gland because in case of...