Spring - Interview Questions and Answers for 'Deloitte' - 2 question(s) found - Order By Newest Frequently asked Spring interview question. Q1. What are the components of Spring framework ? Spring
Ans. Core: [Core, Bean, Context, Expression Language]
Web: [Web, Portlet, Servlet, etc]
Data Access [JMS, JDBC, etc]
AOP, Aspect Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  spring  spring framework components Asked in 12 Companies Related Questions Explain Flow of Spring MVC ? What are the benefits of using Spring Framework ? What is MVC ? How spring boot works ? What is the difference between Singleton and Prototype Bean scope in Spring ? How can we manage Error Messages in the web application ? Difference between Java beans and Spring Beans ? What bean scopes does Spring support? Explain them. What are some differences between Spring caching and Hibernate caching? Can we have two beans with same class with different bean id in spring ? Q2. Difference between Component-Scan and @Component annotation ? Spring
Ans. @component mark a java class as a bean so that component scan mechanism of spring pick it up and register in IOC container. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Related Questions Difference between == and .equals() ? Why is String immutable in Java ? Explain the scenerios to choose between String , StringBuilder and StringBuffer ?
or
What is the difference between String , StringBuilder and StringBuffer ? What are the difference between composition and inheritance in Java? Explain OOPs
or
Explain OOPs Principles
or
Explain OOPs Concepts
or
Explain OOPs features
or
Tell me something about OOPs What is a Lambda Expression ? What's its use ? What are different ways to create String Object? Explain. Why Char array is preferred over String for storing password? Does garbage collection guarantee that a program will not run out of memory? What is the difference between final, finally and finalize() ?