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 kind of problems does name mangling cause?

0 Answers   Amazon,


What is bool in C++

0 Answers  


What are string library functions(syntax).

0 Answers   Accenture,


what is a pragma in C++?

0 Answers   Aspire,


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

0 Answers   Amazon,






Do you know about Agilent PRECOMPILERS. ?

0 Answers   Agilent,


What Is A Conversion Constructor C++ ?

0 Answers   Amazon,


How to invoke a C function using a C++ program?

0 Answers   Alter,


What is the difference between creating an object, using 'new' and using 'malloc'?

3 Answers   HFG, Siemens,


When would you choose to return an error code rather than throw an exception?

0 Answers   Amazon,


What is a class in C++?

0 Answers   Amazon, TCS, UGC Corporation,


What does it mean to take the address of a reference?

0 Answers   Amazon,


Categories