Capgemini interview question

how Java code is executed