For a class to serve as a Custom Validator in Spring Boot, it must implement the _____ interface.

  • Validator
  • CustomValidator
  • ValidationHandler
  • SpringValidator
To create a custom validator in Spring Boot, the class must implement the Validator interface. The Validator interface provides methods for validating objects and can be used to define custom validation logic for your application's specific needs. The other options are not standard interfaces for implementing custom validators in Spring Boot.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *