Abstract class is ___

36. Abstract class is ___.

  1. Created using abstract keyword
  2. Contains only abstract method
  3. Needs to be inherited to be used
  4. All of these

Answer: D) All of these

Explanation:

An abstract class is a class that contains an abstract method. It is defined using abstract keyword only has method declarations and to use these methods, the abstract class needs to be inherited.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.