In a calculator which Java feature allows multiple methods named calculate() for the different operations?

ICSE Class 10 Computer Applications PYQ · 2026 Paper · Section A

1(xi)1 Mark · 2026 · Section A · 2026 Paper

In a calculator which Java feature allows multiple methods named calculate() for the different operations?

Show SolutionHide Solution↓

polymorphism

Reason — Polymorphism in Java allows multiple methods with the same name but different parameters (method overloading). In a calculator, different operations like addition, subtraction, etc., can be implemented using methods with the same name calculate() but with different parameter lists, which is a feature of polymorphism.

← Previous questionNext question →

Browse the free Computer Applications sample bank