单项选择题

A.Resource默认按照类型注入,Autowired默认按照名称注入
B.Resource默认按照名称注入,Autowired默认按照类型注入
C.Resource是SpringMVC注解,Autowired是JavaEE注解
D.以上说法都不正确