The polymorphism quiz
How Well Do You Know Polymorphism?
Test yourself, then send it to a colleague.
Three rounds of ten questions on dispatch, overloading and generics, mostly in Java. Stop after any round, or carry on to the next. Each round draws its ten from a larger pool, so no two tests are quite the same.
- Beginner the idea, dispatch, and the kinds you’ll meet
- Intermediate overload rules, generics in depth, other languages
- Expert the traps and the deep end
About three minutes a round. The Java is Java 25, so IO.println is real. New to it? Read the explainer first. Questions marked Beyond the article go further than it does, and are explained when you miss them.
Loading the questions…
Written by Polymorphism, a small senior team that builds and runs large systems for the public sector, enterprises and growing businesses. Your answers stay in your browser unless you share your result, whose link carries them.