Consider the following code sample which creates an ApplicationContext from a file called "application-config.xml" in the "rewards.internal" package, and a file called test-infra-config.xml in the current folder:
ApplicationContext context = new
FileSystemXmlApplicationContext("classpath:rewards.internal.application-config.xml", "file:testinfra-config.xml");
Which of those statements is true? (select one)
- The use of the "file" prefix is not necessary
- The use of the "classpath" prefix is not necessary
- The use of the "." separator is correct
- Both a and b
Reveal Solution
Next Question