Question d’entretien chez Paladion

Question on binary search , java basic questions wrt output