Encore Capital Group interview question

Java basics and springboot questions