Logo
Search icon

trait

/tɹeɪ/

noun

Meaning

  • An identifying characteristic, habit or trend.

    "The number one personality trait I hate is hypocrisy. Why can't you be consistent!?"

  • An uninstantiable collection of methods that provides functionality to a class by using the class’s own interface.

    "Traits are somewhat between an interface and a mixin."

Synonyms

characteristic