Given the following code, which of the options are true?
class Shape { void print() {} } class Rectangle extends Shape { void print() {} } class Square extends Shape { void print() {} }
A
When methods with the same method signature are defined in classes that share an inheritance relationship, the methods are considered polymorphic.