Question d’entretien chez illumin

How to flood fill a matrix with given value using Java.