Inheritance vs. Polymorphism in Java


Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

Examine the following code. It can be said that the class Banana _____ attributes from the class Fruit

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. Polymorphism supports _____, which is several methods with the same name but different arguments.

2. Examine the following class declaration? Is this valid?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

Going through the quiz and worksheet lets you determine how much knowledge you have about inheritance vs. polymorphism in Java. You will be asked to examine different codes on the quiz.

Quiz & Worksheet Goals

Utilize this assessment to check your comprehension of:

  • The meaning of polymorphism
  • Characteristics of the method increaseSpeed()
  • Name for several methods with the same name but different arguments
  • The validity of a class declaration

Skills Practiced

  • Reading comprehension - ensure that you draw the most important information from the lesson on inheritance and polymorphism in Java
  • Interpreting information - verify that you can read information about what Java can support and interpret it correctly
  • Information recall - access the knowledge you have gained about the meaning of polymorphism

Additional Learning

Access the lesson called Inheritance vs. Polymorphism in Java to review more topics at your own pace like:

  • What methods are in Java
  • Characteristics of polymorphism
  • The differences between inheritance and polymorphism