单项选择题

A.Spring的配置文件名字为applicationContext.xml
B.Spring配置文件一般使用bean元素中的id=“userService”
C.UserService是一个接口
D.在配置文件中UserService可以没有属性注入