1Hardgeneralโฑ 45sHow does Spring's bean scope `singleton` (the default) interact with thread safety in a web application?๐โผASingleton beans get a new instance per request automaticallyBA singleton bean is created once per Spring application context and shared across all requests/threads, so any mutable instance state must be handled carefully (or avoided) to prevent race conditionsCSingleton scope is only used for configuration classesDSingleton beans cannot have any dependencies injected