What is an abstract class?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

618


What are the costs and benefits of using exceptions?

547


What is one dimensional array in c++?

582


How the delete operator differs from the delete[]operator?

644


What is a flag in c++?

609






Is string data type in c++?

585


What is a standard template library (stl)? What are the various types of stl containers?

674


Tell me about virtual function

544


what is pre-processor in C++?

597


When should we use container classes instead of arrays?

586


Implement stack operations with pointers with appropriate exception checks.

569


What is const in c++?

600


Is std :: string immutable?

565


What is the return value of the insertion operator?

606


Explain static and dynamic memory allocation with an example each.

648