Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Software and Development

Polymorphism

1 min read Updated November 10, 2026

Definition A programming idea where one command behaves differently depending on the kind of object it is used on.

What it is

In object-oriented programming, several classes can each respond to the same method name in their own way. The calling code does not need to know which class it is talking to.

Why it matters for your business

It keeps code shorter and easier to extend, which lowers maintenance cost on custom software.

Real-world example

A draw() command draws a circle for a Circle object and a rectangle for a Rectangle object.

Design Corner tip

When commissioning custom software, ask the developer to reuse shared logic through classes rather than copying code.