Teachers are only allowed to say marks to the class if it is permissible by the student. The only time where any mark is said aloud is when the student says it. You were away, so your in the drivers seat. Its a matter on what your gonna do about it. I advise you take it up with the principle...