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 |
Tell us the size of a float variable.
What kind of problems does name mangling cause?
Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70
What are "pure virtual" functions?
0 Answers Adobe, Alter, iNautix,
Explain the importance of method overloading in C++?
0 Answers Akamai Technologies, Infogain,
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
How do you write a function that can reverse a linked-list in C++?
What Is A Conversion Constructor C++ ?
Write a C++ Program to Reverse a Number using while loop.
How to reverse a string in C++
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69