Skip to main content

Spring Boot Interview Questions

 Spring Boot Interview Questions

 
 
image source - google

1: What is spring boot?

A: Spring boot is a project that is created on the spring framework by pivotal people to create minimum configuration and production ready application.

2: What is the current and latest version of spring boot?

A: 2.2.1

3: What @Autowired annotation does in spring boot and spring framework?

A:  @Autowired annotation tells spring to inject the dependency of this bean to this class. we can use this annotation in both setter and constructor dependency injection 

4: How to create a Spring boot project?

A: Their are 2 way's to create spring boot project. first one is using spring official  site Spring Initiliazr and the other one is using IDE (spring tool shuit or Intellij).

  


 

 

 

   


Comments

Popular posts from this blog

Core java collection framework interview questions and answers second part...

                                            1: which classes of collection framework that takes only homogeneous (same type) objects only. Ans: Only there are two classes that takes homogeneous elements those are TreeSet and TreeMap.                                                   2: How ArrayList work's internally? Ans:             Example :       ArrayList :     | 1 | 5 | 6 | 9 | 4 | 5 | 2 | 11 |      Size : 8      index : 0 - 7 arraylist is same as an array but it's dynamic array so, it increases it's size when required.    when you create a arraylist object initially it's size will be 10, and as you inter any value that  will go in in in...

Java Inheritance

#Java Inheritance Interview Questions      #inheritance | #multilelelinheritance | #single inheritance | #javainheritance | #oppsinheritance |     #java  | #OOps | #corejava | #corejavainheritance | #java inheritance | #coreinheritance |   #oopjavainheritance   1: What is inheritance?   A: Inheritance is the most important feature in any object-oriented programming language, This is a                child-parent relationship that allows as to reuse the same logic or same code in a specific manner.   2: How many types of inheritance are supported by java? A:  4 types of inheritance are supported by java,           Single-Level, Multi-Level, Hierarchical, Multiple. Note: In java multiple inheritance, we can achive through Interface.                                   ...