Câu 5: 2V0-72-22: Professional Develop VMware Spring
Which two statements about the @Autowired annotation are true? (Choose two.)
Nội dung câu hỏi
Which two statements about the @Autowired annotation are true? (Choose two.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. @Autowired fields are injected after any config methods are invoked.
- B. Multiple arguments can be injected into a single method using @Autowired. — đáp án hiện tại
- C. By default, if a dependency cannot be satisfied with @Autowired, Spring throws a RuntimeException. — đáp án hiện tại
- D. If @Autowired is used on a class, field injection is automatically performed for all dependencies.
- E. @Autowired can be used to inject references into BeanPostProcessor and BeanFactoryPostProcessor.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.