ECS Fin interview question

Questions based on interface, stream simple problem , oops concept , spring data jpa