Comparing Interfaces & Abstract Classes in Java


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

question 1 of 3

Java doesn't allow _____, meaning one class cannot inherit from more than one parent class.

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. Which of the following correctly shows the Oval class using the Shape interface?

2. Which of the following classes would be suitable as an abstract class?

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

This quiz will assess your understanding of interfaces and abstract classes in Java. To pass the quiz, you'll need to be familiar with limits of an abstract class.

Quiz & Worksheet Goals

Your knowledge of the following will be tested as you take this quiz:

  • What Java doesn't allow because one class cannot inherit from more than one parent class
  • Showing the Oval class using the Shape interface
  • Classes that are suitable as an abstract class
  • Limits of an abstract class
  • Class of Product

Skills Practiced

  • Knowledge application - use your knowledge to answer questions about the abstract class in Java
  • Information recall - access the knowledge you've gained regarding what Java doesn't allow
  • Reading comprehension - ensure that you draw the most important information from the related interfaces and abstract classes in Java lesson

Additional Learning

To gain an even deeper understanding of this subject, check out the related lesson titled Comparing Interfaces & Abstract Classes in Java. Here are topics you'll find in this lesson:

  • Avoiding the restriction of multiple inheritance
  • Using the extends keyword to inherit methods
  • Creating an abstract class