The person and surfer instances share the same behavior but log different greetings. Does this code demonstrate polymorphism?

No; methods are not overridden as there is no inheritanceYes; each instance has its own implementationNo; both instances have the same behavior

No; methods are not overridden as there is no inheritance.