Specification Java Spring Boot Interview Question