M2P Fintech interview question

Java theory questions are asked