Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Method used to change user’s locale.
Correct Answer is : setLocale
2. Property of LocaleChangeInterceptor used to customize parameter name.
Correct Answer is : paramName
3. LocaleChangeInterceptor can only detect the parameter for the handler mappings that enable it.
Correct Answer is : TRUE
4. Parameter which can change user’s locale by any URL.
Correct Answer is : language
5. Interface used to resolve text messages.
Correct Answer is : MessageSource
6. Tag used by view to resolve text messages.
Correct Answer is : spring:message
7. The ResourceBundleMessageSource implementation resolves messages for different locales.
Correct Answer is : TRUE
8. cookieName is used by localeResolver to customize the cookie used.
Correct Answer is : TRUE
9. The cookieMaxAge value when browser is closed.
Correct Answer is : -1
10. JdbcTemplate that takes advantage of Java 1.5 features such as autoboxing, generics, and variable-length arguments to simplify its usage.
Correct Answer is : org.springframework.jdbc.core.simple.SimpleJdbcTemplate
11. JdbcTemplate require statement parameters to be passed as an object array.
Correct Answer is : TRUE
12. To use SimpleJdbcTemplate:-
Correct Answer is : all of the mentioned
13. SimpleJdbcTemplate offers a convenient batch update method in the form of:-
Correct Answer is : List
14. Method has a warning from the Java compiler because of an unchecked conversion from List to List.
Correct Answer is : findAll()
15. The return type of the queryForObject() method will be determined by the class argument (e.g., String.class).
Correct Answer is : TRUE
16. Named SQL parameters are specified by name (starting with a colon) rather than by position.
Correct Answer is : TRUE
17. Named parameters are supported only in SimpleJdbcTemplate.
Correct Answer is : TRUE
18. Implementations of the SqlParameterSource interface:-
Correct Answer is : all of the mentioned
19. The Spring framework offers a consistent data access exception-handling mechanism for its data access module.
Correct Answer is : TRUE
20. In your DAO methods, you neither need to surround the code with a try/catch block nor declare throwing an exception in the method signature.
Correct Answer is : TRUE
Similar Interview Questions
Search for latest jobs
Get $5 added to your wallet for registering an account. Refer others and get $1 for each successful referral. Earn while you search for jobs and redeem in gift cards!