Amdocs interview question

Java fundamentals