McqMate
| Q. |
What is polymorphism in Java? . |
| A. | It is when a single super class has many subclasses. |
| B. | It is when a single variable is used with several different types of related objects. |
| C. | It is when a program uses several different types of objects, each with its own variable. |
| D. | It is when a class has several methods with the same name but different parameter types. |
| Answer» D. It is when a class has several methods with the same name but different parameter types. | |
View all MCQs in
Java ProgrammingNo comments yet