Example with Marker
Example: 3 classes with inheritance and generics