Posted by: Pdfprep
Post Date: November 16, 2020
Which of the following scenarios requires you to instantiate an ApplicationContext using the ‘new’ keyword? (Select one)
A . Running your Spring application inside a JUnit test (using SpringJUnit4ClassRunner)
B . Bootstrapping your Spring application within a Java main() method
C . Deploying your Spring application in an application server, packaged in a WAR file
D . Both a and b
Answer: B
Leave a Reply