How can I inherit from another class without adopting the parent type?
For example I want to be able to let Car adopt all methods and properties of Vehicle without being recognized as an Object of type Vehicle.
Is there a convenient way of doing this in Java without duplicating all methods and properties?