If a class defines its own version of a method or property, that method or property overrides the one inherited from an ancestor. This is referred to as polymorphism. For example, the ListBox class has its own GetContents method, which overrides the GetContents method inherited from the AnyWin class.