C++ Programming - OOPS Concepts - Discussion
Discussion Forum : OOPS Concepts - General Questions (Q.No. 8)
8.
How many instances of an abstract class can be created?
Discussion:
57 comments Page 4 of 6.
Zeba desai said:
1 decade ago
Abstract class have only declaration, no any definition. Without any body or definition we cannot create instances.
Kousalya said:
1 decade ago
Explain about the reusability concepts.
PVN b091086 said:
1 decade ago
Abstract Class is act like a base class to the derived classes;
So, we can't create any instance to Abstract class.
So, we can't create any instance to Abstract class.
Mukul Rawal said:
1 decade ago
Abstract Class just act as a base class to the derived class/classes.
Prashant Patle said:
1 decade ago
Why we use abstract class?
Amit said:
1 decade ago
What is reusability concept and what are the uses of abstract class?
Prashant Indolia said:
1 decade ago
We can not create object of an abstract class because abstract class is incomplete class.
Rachana singh said:
1 decade ago
According to me. We cannot create the object of the abstract class but we can create many time instances of the abstract class.
Wilson said:
1 decade ago
Abstract class is not a main class to automatically create a object, only create reference to that particular class itself.
Suraja said:
1 decade ago
Memory Allocation to the class members is done when its object is created. For an abstract class, memory cannot be allocated as its resource requirement cannot be calculated. Hence no object for an abstract class.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers