Question from the Spring - Archive test

Is the following code valid? @Configuration public class MyConfiguration { @Bean public MyBean myBean() { return new MyBean(); } }

Medium

Is the default scope of a bean "prototype" ?

Author: Thomas De verdiĂšreStatus: PublishedQuestion passed 4 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!