WHAT IS ABSTRACT CLASS?

John William

Total Post:1

Points:5
Posted by  John William
OOPS 
 1799  View(s)
Ratings:
Rate this:
  1. John William

    Post:1

    Points:5
    What is abstract class?

    What is abstract class?

  1. Mahesh Rawat

    Post:138

    Points:690
    What is abstract class?

    Abstract class is a class that can not be instantiated, it exists extensively for inheritance and it must be inherited. There are scenarios in which it is useful to define classes that is not intended to instantiate; because such classes normally are used as base-classes in inheritance hierarchies, we call such classes abstract classes.

    Abstract classes cannot be used to instantiate objects; because abstract classes are incomplete, it may contain only definition of the properties or methods and derived classes that inherit this implements it's properties or methods.

  1. Ritesh Behal

    Post:2

    Points:10
    What is abstract class?

    We can't create object of abstract class and it must be inherited.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!