Which annotation to use?

Report a typo

You have the following code in your project:

@Configuration
class VehicleFactoryConfig {

    //annotation missed
    Engine engine() {
        return new Engine();
    }

}

Which annotation will you use instead of the comment?

Select one option from the list
___

Create a free account to access the full topic