If a class or interface declares a generic type, a subclass or interface
implementation can constrain that type. In this case, while Transport
can transport a generic type of passenger, Van limits it to an Animal.
                    You can learn more about this in:
                    
                
            
        
            Tags: