joannazhang13
Quiz by , created more than 1 year ago

Quiz about the java abstract class

51
0
0
joannazhang13
Created by joannazhang13 almost 9 years ago
Close

Abstract Class Quiz

Question 1 of 9

1

An abstract class is a superclass

Select one of the following:

  • True
  • False

Explanation

Question 2 of 9

1

An abstract class can be instantiated

Select one of the following:

  • True
  • False

Explanation

Question 3 of 9

1

Abstract methods are not implemented.

Select one of the following:

  • True
  • False

Explanation

Question 4 of 9

1

A concrete class can contain abstract methods.

Select one of the following:

  • True
  • False

Explanation

Question 5 of 9

1

An abstract class is declared with keyword abstract.

Select one of the following:

  • True
  • False

Explanation

Question 6 of 9

1

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

Select one of the following:

  • True
  • False

Explanation

Question 7 of 9

1

An abstract class can have instance variables.

Select one of the following:

  • True
  • False

Explanation

Question 8 of 9

1

An abstract class can have no abstract methods.

Select one of the following:

  • True
  • False

Explanation

Question 9 of 9

1

An abstract class cannot have concrete methods.

Select one of the following:

  • True
  • False

Explanation