题目内容
(请给出正确答案)
[判断题]
zuul是spring cloud中的微服务网关()
答案
查看答案
第3题
A.>>> word = 'cloud'; print(min(word)) c
B.>>> [5] * 2 [10]
C.>>> print('Merry Xmas ' +12.25) Merry Xmas12.25
D.>>> word = 'cloud'; word[5] 'd'
第8题
A.@Autowired用于对Bean的属性变量、属性的setter方法及构造方法进行标注,配合对应的注解处理器完成Bean的自动配置工作,默认按照Bean的名称进行装配
B.@Repository用于将数据访问层(DAO层)的类标识为Spring中的Bean
C.@Service通常作用在业务层(Service层),用于将业务层的类标识为Spring中的Bean
D.@Controller通常作用在控制层(如Spring.MVC的Controller),用于将控制层的类标识为Spring中的Bean