Cognizant Interview Question

Rest vs Rest controller in springboot?