Question: how many valence electrons does a water molecule have?
Answer: No. of valence electron in water is 8 and in oxygen it is 6. H2O is stable substance which is formed when 2 hydrogen atom reacts with 1 oxygen atom. Therefore, it would has an octet in its valence shell.