Navaera interview question

Java and spring