What are JSF Validators?
-
The class that extends javax.faces.validator.Validator and validates the given input
-
The class that implements javax.faces.validator.Validator and validates the given input
-
The class that extends javax.faces.validate.Validator and validates the given input
-
The class that implements javax.faces.validate.Validator and validates the given input
Reveal answer
Fill a bubble to check yourself
B
Correct answer
Explanation
JSF Validators are classes that implement the javax.faces.validator.Validator interface and validate the given input. The Validator interface defines a validate method that must be implemented. Note that it's an interface (implement), not an abstract class (extend), and the package is validator, not validate.