Citi interview question

What is duck-typing? Give examples.