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

What is the difference between public, private, and protected inheritance?

0 Answers   Amazon,


How many times will this loop execute? Explain your answer.

0 Answers  


Find the Factorial of a number using a program.

0 Answers   Accenture,


What is Boyce Codd Normal form?

0 Answers   IBS,


Explain the FOR loop with a help of a code.

0 Answers   Accenture,






What does it mean to declare a member function as virtual in C++?

0 Answers   Amazon,


In C++ what is a vtable and how does it work?

0 Answers   Agilent,


How does stack look in function calls? When does stack overflow? What can you do to remedy it?

0 Answers   Adobe,


What is RTTI and why do you need it?

0 Answers   Amazon,


What is wrong with this statement? std::auto_ptr ptr(new char[10]);

0 Answers   Amazon,


Explain function prototypes in C++.

0 Answers   Aricent,


What Are The Differences Between A C++ Struct And C++ Class?

2 Answers   Wipro,


Categories