Question 2 Q: 2 Refer to the exhibit. How can a Spring Bean be created from this LegacySingleton class? Options A: A. Call LegacySingleton.getInstance() from within a @Bean method and return the instance. B: B. Return an instance of LegacySingleton using the new keyword from a @Bean method. C: C. It is not possible without modifying the LegacySingleton class, the constructor must be public. D: D. Modify the LegacySingleton class by adding the @Autowired annotation to the instance variable. Save Question Show Answer Discussion 0 Clear Discussion Most voted Newest No comments yet. Be the first to comment. Post Be respectful. No spam. Correct Answer: A Explanation Thank you for your visit.