Quay lại Roadmap/Software Design Architecture Roadmap/
Đang tải...
Hướng dẫn thử thách
1 / 94

Abstract Classes

### Giai đoạn: Nền Tảng & Khái Niệm Cốt Lõi **Abstract Classes** An abstract class is a restricted base class that cannot be used to create objects. It serves as a blueprint for other classes, providing a common structure by defining methods that subclasses must implement. While it can contain fully functional methods, its primary purpose is to enforce a consistent interface and shared behavior across related objects in a system. ### Khái niệm cốt lõi: 1. **An abstract class is a restricted base class that cannot be used to create objects** ### Tài liệu tham khảo chính thống: - [What is an Abstract Class in Object Oriented Programming](https://www.theserverside.com/definition/abstract-class) (article)
Nhiệm vụ của bạn
Viết giải pháp của bạn cho bài học **Abstract Classes** vào trình soạn thảo bên cạnh. Bấm **Chạy Thử Nghiệm** (hoặc nhấn `Ctrl+Enter`) để thực thi và ghi nhận hoàn thành kỹ năng trên Roadmap. ### Kỹ năng cần đạt: - `Abstract` - `Classes` - `Engineering`
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.