Refer to the exhibit.
AppConfig is a Java configuration class. Which two statements are true? (Choose two.)
The clientService bean declared will have prototype scope by default.
The name of the clientService() method is invalid and will throw an error.
The clientService bean will be lazy initialized the first time accessed.
The bean is of type clientService and by default will be a Singleton.
The Java configuration can be profile specific by adding a @Profile annotation.
Submit