static and dynamic polymorphism examples