The person and surfer instances share the same behavior but log different greetings. Does this code demonstrate polymorphism?
person
surfer
No; methods are not overridden as there is no inheritance.