what are abstract classes and how they impliment , with
example

Answer Posted / rdl

A class with atleast one pure virtual function is called
abstract class.It cant be instatiated.It can be used as a
base class for other classes. The class derived from an
abstract base class can be instantiated,provided it should
implement the abstract base class pure virtual function.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does enum stand for?

603


What is oops in programming?

556


any one please tell me the purpose of operator overloading

1955


What is the highest level of cohesion?

561


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

679






Why is object oriented programming so hard?

601


What is encapsulation in oop?

597


hi all..i want to know oops concepts clearly can any1 explain??

1669


What is pure oop?

585


What is the real life example of polymorphism?

595


Describe these concepts: Polymorphism, Inheritance and Abstraction.

595


What is encapsulation with example?

568


How do you achieve runtime polymorphism?

560


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1639


what is the drawback of classical methods in oops?

2903