Due to surface tension, the surface of liquid acts as a stretched membrane , so even if some more water then the rim level of the glass is poured into it,the stretched water surface which hold the glass rim due to adhesion becomes convex upwards and the contact angle between the water and the glass become the 90o in this situation.
Final Answer:
The zero degree angle of contact for water and the glass is for the situation, when the water level is below the rim level of the glass, in some special situation the angle of contact may be change