Dassault Systèmes interview question

Java questions and puzzles were there