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?
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?
Create a free account to access the full topic