What is Polymorphism in Java?

2024

What is Polymorphism in Java?

Answer: A. The ability of a single method to perform different tasks.Polymorphism lets the same operation or method name show different behavior depending on the object, argument list, or runtime binding. Among the choices,…

  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 327 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: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…