S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation is used for field validation in Spring Boot?

  • (A) @ValidateThis
  • (B) @FieldCheck
  • (C) @Valid
  • (D) @FieldValidator
  • Correct Answer - Option(C)
  • Views: 14
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@Valid is used to mark a field for validation using javax validation annotations.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.