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 3 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.
Raj Kumar Sepat said:
8 years ago
We can not create the instance of the Abstract Class.
So answer will be zero (o) instance of the abstract class.
So answer will be zero (o) instance of the abstract class.
Vipin said:
1 decade ago
Abstract class not allowed to create an Instance (Object).
So, we can not create any instance then answer is 0.
So, we can not create any instance then answer is 0.
Nutan Singh said:
1 decade ago
ABSTRACT class is a class which can not have any object.
CONCRETE class is a class which have its object.
CONCRETE class is a class which have its object.
Lahu pande said:
1 decade ago
We cannot create the instance of the abstract class, only we can create reference of an abstract class.
Govind Chaudhary said:
1 decade ago
Abstract class is a class which have body but not implementation.
So why we need to create object?
So why we need to create object?
Prashant Indolia said:
1 decade ago
We can not create object of an abstract class because abstract class is incomplete class.
Priyanka bamne said:
1 decade ago
Abstract classes are basically used for reusability concept while developing a software.
Hassan maha said:
9 years ago
Which class has maximum instances, Can anyone tell the types of class having instances?
(1)
Dnyaneshwar Jadhav said:
1 decade ago
By declaring class as a abstract we can not create any object belonging to that class.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers