Water hammer is a build-up of pressure in a length of horizontal or vertical pipe which occurs hen a valve of faucet is closed suddenly.