How does the mechanism for inheriting variables work in single-inheritance object-oriented languages? Is there a separate implementation of each selector for each class, or does one implementation of each selector work for all classes? How do the selector(s) work?

Variables are inherited by knowing their positions. A variable is put at the same position in a structure in a class and all of its superclasses. This only works in a single-inheritance language.