CAN WE INSTANTIATE ABSTRACT CLASS

Monaj Singh

Total Post:48

Points:240
Posted by  Monaj Singh
 617  View(s)
Ratings:
Rate this:
  1. Monaj Singh

    Post:48

    Points:240
    Can we instantiate abstract class

     

    You are not creating the instance of your abstract class here. Rather you are creating an instance of an anonymous subclass of your abstract class. And then you are invoking the method on your abstract class reference pointing to subclass object.

      Modified On Apr-04-2016 07:19:08 AM

Answer

NEWSLETTER

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