definition of trait
By pedro1981
@pedro1981 (31)
Nigeria
2 responses
@srinathakarapu (3093)
• India
14 Oct 06
The word trait has several meanings:
Generically, it refers to a characteristic or property of some entity.
In biology, traits refer to genetically inherited features of organisms.
In psychology, it refers to a component of personality as defined by Trait theory.
charistics
In computer science, traits refer to several things:
In C++, a trait class is a class which is used to store metadata about some other datatype; typically for the benefit of templates.
In several object oriented programming languages, a trait is a type of abstract type.