CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 7: 2V0-72-22: Professional Develop VMware Spring

If a class is annotated with @Component, what should be done to have Spring automatically detect the annotated class and load it as a bean? (Choose the best answer.)

Nội dung câu hỏi

If a class is annotated with @Component, what should be done to have Spring automatically detect the annotated class and load it as a bean? (Choose the best answer.)

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.

  1. A. Ensure a valid bean name in the @Component annotation is specified.
  2. B. Ensure a valid @ComponentScan annotation in the Java configuration is specified. — đáp án hiện tại
  3. C. Ensure a valid @Scope for the class is specified.
  4. D. Ensure a valid @Bean for the class is specified.

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.

Câu hỏi liền kề