Would the mass be the same in a sealed cup of water?

Too vague a question. If you mean, does sealing the cup change the mass, then no it does not change the mass of the water, though the sealing material would add its own mass to the total.