单选题 Spring Boot可以独立运行吗?

A、 不可以,需要配合其他框架使用。
B、 可以,是一个独立的运行环境。
C、 通常需要配合其他框架使用,但也可以独立运行。
D、 通常需要配合其他框架使用,但不能独立运行。
下载APP答题
由4l***na提供 分享 举报 纠错

相关试题

单选题 Spring Boot自动装配是基于哪个注解进行的?

A、 @Autowired
B、 @ComponentScan
C、 @Configuration
D、 @EnableAutoConfiguration

单选题 在Spring Boot自动装配中,哪个属性用于指定配置文件的位置?

A、 spring.config.location
B、 spring.config.additional-location
C、 spring.config.scan.location
D、 none of the above

单选题 Spring Boot自动装配的原理是什么?

A、 依赖注入
B、 自动配置
C、 约定大于配置
D、 以上都是

单选题 Spring Boot自动装配中,哪个包通常用于存放配置文件?

A、 com.example.config
B、 com.example.controller
C、 com.example.model
D、 com.example.service

单选题 Spring Boot自动装配中,哪个注解用于标记配置类?

A、 @Configuration
B、 @ComponentScan
C、 @Component
D、 @SpringBootApplication

单选题 Spring Boot中,哪个注解用于声明一个Bean?

A、 @Service
B、 @ComponentScan
C、 @Configuration
D、 @Component

单选题 在Spring Boot自动装配中,哪个注解用于标记要注入的组件?

A、 @Autowired
B、 @ComponentScan
C、 @Component
D、 @SpringBootApplication

单选题 Spring Boot自动装配的特性不包括?

A、 自动配置
B、 约定优于配置
C、 零配置
D、 手动配置