S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation can be used to perform data validation on fields?

  • (A) @Validate
  • (B) @Assert
  • (C) @Valid
  • (D) @Check
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@Valid is used to trigger validation on the annotated field or parameter.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.