What is polymorphism in Java?

69. What is polymorphism in Java?

  1. Performing a single task in multiple ways
  2. Performing multiple tasks using multiple methods
  3. Creating a new class for each task
  4. All of these

Answer: A) Performing a single task in multiple ways

Explanation:

Polymorphism in Java is the ability of an object to take many forms.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.