Question d’entretien chez Capgemini

What is black box testing? Write java function to swap two number without using temp variable