0 of 27 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 27 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
What is a Spring Bean ?
@Value can help loading the values from ? Choose all that apply –
Which of the following option is correct about Spring IOC container ?
How @ComponentScan detects Spring Beans ?
Which object will be Injected through field injection to variable ‘teacher’ , present inside Student component ?
Teacher Interface :Â
ScienceTeacher :Â
MathTeacher selected as @Primary
Student
container.getBean(Student.class).learn();Â
will call class teach() method.
If you want Spring to manage a ModelMapper Bean (part of a 3rd Party Library), which of the following way you will be defining the bean?
How the singleton beans are initialized ?
Which of these Dependency Injection types is recommended by Spring ?
Which of the following is not a stereotype annotation?
Can @Autowired annotation be used on top of the collection?
Is ApplicationContext works as a resource loader ?
What happens when a @Autowired annotation doesn’t find a dependency that need to be injected?
Can we use @Profile annotation with @Configuration annotation ?
What are ApplicationContext responsibilities ?
Where @Autowired annotation can be used ?
what does “@Value(“#{T(com.seleniumexpress.fistspringapp.speladv.Bean1).NAME}”)” spEL expression represents ?
what does @Value(“#{@bean1.calculateSalary()}”) represents ?
A bean can’t be fetched from application context by Type
How can you access properties in Spring ? Choose all that apply –
What are the below things you can achieve with @Bean annotation ? Choose all that apply –
Is BeanFactoryPostProcesser executed before BeanPostProcessor ?
When BeanFactoryPostProcesser is invoked ?
can you define private Beans using @Bean annotations inside a Configuration file that are annotated with @Configuration ?
what are the places where @Profile annotation can be used ? Choose all that apply –
what is Spring’s singleton scopes mean ?
Why should we use BeanPostProcessor? Choose all that apply –
does Standalone spring application context closes automatically ?