单项选择题

A.Spring中的bean的作用域可以通过scope属性进行配置
B.Spring中的bean的作用域默认是“prototype”
C.当一个bean的scope设为“singleton”时,可以被多个线程同时访问
D.一个bean的scope只对它自己起作用,与其它bean无关