I\'m new to polymorphism and I\'m trying to learn how this exactly works . I want for example to get the print() function of class Y and use it in the base class . Is this p