What is Polymorphism in Java?

2024

What is Polymorphism in Java?

  1. A.

    The ability of a single method to perform different tasks.

  2. B.

    The ability of different methods to perform different tasks.

  3. C.

    The ability of a class to inherit properties of another class.

  4. D.

    The ability of a single variable to hold multiple values.

  5. E.

    Question not attempted

Attempted by 116 students.

Show answer & explanation

Correct answer: A

Polymorphism lets the same operation or method name show different behavior depending on the object, argument list, or runtime binding. Among the choices, this is best captured by a single method performing different tasks.

Explore the full course: Up Lt Grade Assistant Teacher 2025