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

What are 2 ways of exporting a function from a dll?

611


What is an interface in oop?

591


What is the role of copy constructor in copying of thrown objects?

595


Define a constructor - what it is and how it might be called (2 methods)?

604


What is == in programming?

612






How can I improve my c++ skills?

556


What is property in oops?

565


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

677


Why is standard template library used?

579


What is different in C++, compare with unix?

605


What is encapsulation in c++ with example?

584


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1833


What is the advantage of an external iterator.

571


What kind of problems does name mangling cause?

584


How do you add an element to a set in c++?

549