What is an abstract class?
Answers were Sorted based on User's Feedback
Answer / btech
Class that has at least one pure virtual function
Class that Can not be instantiated
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / naveen kumar
Abstract classes are classes that contain one or more abstract methods. Abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vikas
Note that even if the destuctor is pure virtual, the class
would become abstract.
Vikas
http://www.cppquestions.com/
| Is This Answer Correct ? | 2 Yes | 1 No |
An abstract class is a template definition of methods and variables of a class (category of objects) that contains one or more abstracted methods. ... Declaring a class as abstract means that it cannot be directly instantiated, which means that an object cannot be created from it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Abstract class is the class designed for inheritance, for which no object will be created in the programming, but objects created for those classes that are inherit functions, methods from objects of classes those inherited. For example class A is a abstract class ,class B inherits A, objects of class B can be created but not A. These objects use the methods of A also B.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain function prototypes in C++.
What is Copy Constructor?
What is the difference between creating an object, using 'new' and using 'malloc'?
In C++ what is the meaning of data hiding?
What are the advantages/disadvantages of using #define?
If class D is derived from a base class B
Explain the difference between C and C++.
Write a program that can take input from 3 to 8 and calculate the average?
What are the advantages/disadvantages of using inline and const?
How will you execute a stack using a priority queue? (Push and pop should be in O (1)).
What is function overloading and operator overloading in C++?
Explain why C++ is not purely Object Oriented Language