No, you cannot drop one on another if they belong to different class hierarchies. They are not identical , even if they have the same attributes and methods. In addition, if they belong to the same class hierarchy, but one is not a superclass of the other, you also cannot use the same class hierarchy. There is only rise and fall in the hierarchy.
,
( polymorphism.)