Muhammad Imran Ansari
How many instances can be created for an abstract class? Why?
By Muhammad Imran Ansari in .NET on May 24 2023
  • Geraldortiz
    Jul, 2024 4

    According to what I learned on Google, it is used as a superclass (base class) of classes with the same nature such as type, type, and task. The abstract class provides a template for implementing data abstraction by hiding implementation details. Abstract classes can declare normal properties and methods and do not have abstract properties (abstract classes do not allow parameter initialization,

    • 0
  • Kousalya Palani
    Jul, 2023 13

    You cannot create instance of an abstract class. But you can create instance of a class that derived from abstract class

    • 0
  • Rajeev Kumar
    Jun, 2023 29

    You cannot create instances for abstract classes so answer is 0.

    • 0
  • Amit Nagar
    Jun, 2023 27

    Answer is 0

    • 0
  • Mayooran Navamany
    Jun, 2023 24

    The Answer Is Zero
    We cannot create an instance of an abstract class as it does not have any complete implementation.
    An abstract class acts like a template or an empty structure.

    • 0
  • Kavya Chowdary
    May, 2023 26

    You cannot create instances for abstract classes. So, the answer is zero.

    This is because an abstract class does not have complete implementation.

    • 0
  • Ranjeet Sonekar
    May, 2023 26

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS