Question d’entretien chez Accenture

Water tank question in Java