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.
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.
Avinash said:
1 decade ago
There are no objects for abstract class.
Nikita choudhary said:
1 decade ago
No objects an be created for abstract class, besides abstract class is not defined class. Its practically similar to the noun abstract which cannot create any members within it.
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.
Pooja said:
1 decade ago
In abstract class object can't be created. Abstract classes cannot be used for:
1) Variables or member data.
2) Argument types.
3) Function return types.
4) Types of explicit conversions.
1) Variables or member data.
2) Argument types.
3) Function return types.
4) Types of explicit conversions.
Inder said:
1 decade ago
Abstract class is the class which has no arguments so it has no object.
Sowmya vn said:
1 decade ago
We can't create a instance class for abstract class and once we mention the class is abstract even we can't create the object for that class.
Sanjay rajpurohir said:
1 decade ago
Abstract class not allowed to create an Instance (Object).
Lucky said:
1 decade ago
Abstract class is a zero objects class.
Sri said:
1 decade ago
In my view a parent class does not have any direct instance it means abstract class can be used to creation of subclasses.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers