BNY interview question

Concepts of Java, OOP vs Functional programming