Spring is smart

Report a typo

Why did we remove the @Autowired annotation ?

@Component
public class Customer {
    private final Product product;

    
    public Customer(Product product) {
        this.product = product;
    }
}
Select one or more options from the list
___

Create a free account to access the full topic