Meaning of Trait | Babel Free
tɹeɪtDefinitions
- An identifying characteristic, habit or trend.
- An uninstantiable collection of methods that provides functionality to a class by using the class’s own interface.
Equivalents
Examples
“inherited traits and acquired traits”
“The number one personality trait I hate is hypocrisy. Why can't you be consistent!?”
“The English, of all classes, value themselves on this trait, as distinguishing them from the French, who, in the popular belief, are more polite than true.”
“The positive and constructive aspect of possibility gives the key to understanding the two chief traits of immaturity, dependence and plasticity.”
“Turning to our second trait, if you have straight hair, then both of your parents must carry an allele for this trait.”
“Traits are somewhat between an interface and a mixin.”
“Traits are parametrized on other methods, which must be provided to create a class using the trait. Using a trait-like mechanism to compose large collections of mutually-dependent classes or traits could lead to parameter explosion.”
CEFR level
B1
Intermediate
This word is part of the CEFR B1 vocabulary — intermediate level.
This word is part of the CEFR B1 vocabulary — intermediate level.
Know this word better than we do? Language is a living thing — help us keep it growing. Collaborate with Babel Free