Nghĩa của từ subclass trong tiếng Việt

subclass trong tiếng Anh có nghĩa là gì? Hãy cùng Lingoland tìm hiểu nghĩa, phát âm và cách dùng cụ thể của từ này.

subclass

US /ˈsʌbklæs/
UK /ˈsʌb.klɑːs/
"subclass" picture

Danh từ

lớp con, phân lớp

a secondary or subordinate class or group of things or people

Ví dụ:
The new species belongs to a rare subclass of amphibians.
Loài mới thuộc một phân lớp lưỡng cư hiếm gặp.
In object-oriented programming, a subclass inherits properties from its superclass.
Trong lập trình hướng đối tượng, một lớp con kế thừa các thuộc tính từ lớp cha của nó.

Động từ

tạo lớp con

to create a subclass from an existing class in object-oriented programming

Ví dụ:
You can subclass the 'Animal' class to create 'Dog' and 'Cat' classes.
Bạn có thể tạo lớp con từ lớp 'Animal' để tạo các lớp 'Dog' và 'Cat'.
It's common practice to subclass built-in types for custom behavior.
Việc tạo lớp con từ các kiểu dữ liệu tích hợp để tùy chỉnh hành vi là một thực hành phổ biến.