Spring Boot - Spring Annotations
You want to create a bean that is active in both "dev" and "test" profiles but not in "prod". Which
@Profile annotation usage correctly achieves this?@Profile annotation usage correctly achieves this?@Profile({"dev", "test"}) means the bean is active if either "dev" OR "test" profile is active.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions