What is an abstract class?

Answers were Sorted based on User's Feedback



What is an abstract class?..

Answer / btech

Class that has at least one pure virtual function
Class that Can not be instantiated


Is This Answer Correct ?    6 Yes 0 No

What is an abstract class?..

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

What is an abstract class?..

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 0 No

What is an abstract class?..

Answer / sreenathroyal

hiding the data

Is This Answer Correct ?    0 Yes 0 No

What is an abstract class?..

Answer / hrpynux@gmail.com

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

Post New Answer

More C++ Interview Questions

Write a program that can take input from 3 to 8 and calculate the average?

0 Answers   Accenture,


What are "pure virtual" functions?

0 Answers   Adobe, Alter, iNautix,


Write a C++ Program to Display Number (Entered by the User).

1 Answers  


what is the difference between a pointer and a reference?

0 Answers   Amazon, Blue Star, C DAC,


Discuss about iteration statements in C++ .

0 Answers   Agilent,






What is bool in C++

0 Answers  


What is Advantage and Use of THIS pointer in C++ – Scenarios?

0 Answers  


What is the meaning of the following declaration: int *const *const *i?

0 Answers   Adobe,


How can a C function be called in a C++ program?

0 Answers  


What is partial specialization or template specialization?

0 Answers   Amazon,


What is an abstract class?

5 Answers   Siemens,


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

0 Answers   Adobe,


Categories