Abstract Class Quiz

joannazhang13
Quiz by joannazhang13, updated more than 1 year ago
joannazhang13
Created by joannazhang13 over 6 years ago
34
0

Description

Quiz about the java abstract class

Resource summary

Question 1

Question
An abstract class is a superclass
Answer
  • True
  • False

Question 2

Question
An abstract class can be instantiated
Answer
  • True
  • False

Question 3

Question
Abstract methods are not implemented.
Answer
  • True
  • False

Question 4

Question
A concrete class can contain abstract methods.
Answer
  • True
  • False

Question 5

Question
An abstract class is declared with keyword abstract.
Answer
  • True
  • False

Question 6

Question
A subclass will always be concrete even it if doesn't implement all of the abstract methods of its superclass.
Answer
  • True
  • False

Question 7

Question
An abstract class can have instance variables.
Answer
  • True
  • False

Question 8

Question
An abstract class can have no abstract methods.
Answer
  • True
  • False

Question 9

Question
An abstract class cannot have concrete methods.
Answer
  • True
  • False
Show full summary Hide full summary

Similar

Java Week 5 Object Oriented Programming
Troy Bowlin
Abstract Class Example
joannazhang13
Subclass Example
joannazhang13
Superclass Example 1
joannazhang13
What does inheritance do?
joannazhang13
Let's see what you know
joannazhang13
Superclass Example 2
joannazhang13
Java Practice 1
Ummm No
Servion - Java Questionnaire
rohit.benedict
Java Core. Basics
Gadget
Java Practice 2
Ummm No