Câu 33: 200-550: Zend Certified PHP Engineer
You'd like to use the class MyDBConnection that's defined in the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace, but you want to minimize*as much as possible* the length of the class name you have to type. What would you do?
Nội dung câu hỏi
You'd like to use the class MyDBConnection that's defined in the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace, but you want to minimize*as much as possible* the length of the class name you have to type. What would you do?
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. Import the MyGreatFramework namespace
- B. Import the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace
- C. Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer\MyDBConnection to a shorter name — đáp án hiện tại
- D. Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer to a shorter name
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.