MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Spring doesn t cope up with pdf and excel views. |
| A. | True |
| B. | False |
| Answer» C. | |
| 2. |
To use JSR-303 bean validation in a web application, dependencies to be added in maven. |
| A. | javax.validation |
| B. | org.hibernate |
| C. | all of the mentioned |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 3. |
To hold any errors detected from validating the instance of beans. |
| A. | javax.validation.Validator |
| B. | javax.validation.ValidatorFactory |
| C. | javax.validation.ValidatorFactor |
| D. | javax.validation.ConstraintViolation |
| Answer» E. | |
| 4. |
Validator field is not assigned to any bean, but rather a factory class of the type. |
| A. | javax.validation.Validator |
| B. | javax.validation.ValidatorFactory |
| C. | javax.validation.ValidatorFactor |
| D. | none of the mentioned |
| Answer» C. javax.validation.ValidatorFactor | |
| 5. |
A field named validator is of type. |
| A. | javax.validation.Validator |
| B. | javax.validation.ValidatorFactory |
| C. | javax.validation.ValidatorFactor |
| D. | none of the mentioned |
| Answer» B. javax.validation.ValidatorFactory | |
| 6. |
Annotation which receives a value in the form regexp= .+@.+ .[a-z]+ . |
| A. | @Pattern |
| B. | @EmailRecognizer |
| C. | |
| D. | @Null |
| Answer» B. @EmailRecognizer | |
| 7. |
JSR-303 can t access java beans directly. |
| A. | True |
| B. | False |
| Answer» C. | |