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?
1
5
13
0
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
57 comments Page 5 of 6.

Mohammed said:   1 decade ago
Abstract base class may be used only as framework from which other class will be derived, while the individual objects of this class will never be instantiated.

Aakash Gupta said:   1 decade ago
Talking in terms of java, an abstract class can have any number of instances but can't have any object. But since this question. Is listed in oops concept, option d is correct.

Shivhari M.N tholbare said:   1 decade ago
What is actual use of abstract class?

Agile said:   1 decade ago
Abstract Class is Half Define Class.
It Has a rule Never Create a Object or Instances

Lahu pande said:   1 decade ago
We cannot create the instance of the abstract class, only we can create reference of an abstract class.

Yoshwa khyriem said:   1 decade ago
Abstract classes can be created, signified, or simulated in several ways: By use of the explicit keyword abstract in the class definition, as in Java, D.

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.

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.

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.

Prashant Indolia said:   1 decade ago
We can not create object of an abstract class because abstract class is incomplete class.


Post your comments here:

Your comments will be displayed after verification.