Question d’entretien chez Oracle

Basic java programming questions. couple logical questions