IKS Health interview question

Questions on oops and springboot