What is a Spring Boot starter dependency? (Choose the best answer.)

What is a Spring Boot starter dependency? (Choose the best answer.)
A . A setting for specifying which code you want Spring Boot to generate for you.
B . A specific POM which you must build to control Spring Boot’s opinionated runtime.
C . A pre-existing model project you can download and use as the basis of your project.
D . An easy way to include multiple, coordinated dependencies related to a specific technology, like web or JDBC.

Answer: D

Explanation:

A Spring Boot starter dependency is a special type of dependency that provides a convenient way to add multiple, coordinated dependencies related to a specific technology or feature, such as web, JDBC, security, etc. A starter dependency usually has a name that starts with spring-boot-starter-followed by the name of the technology or feature. For example, spring-boot-starter-web is a starter dependency that includes all the dependencies needed for creating web applications with Spring MVC and RESTful services.

Reference: https://developer.ibm.com/tutorials/j-spring-boot-basics-perry/

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments