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

Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4308


What is polymorphism oop?

809


explain sub-type and sub class? atleast u have differ it into 4 points?

2033


How do you achieve polymorphism?

810


program for insertion ,deletion,sorting in double link list

2435


Write a c++ program to display pass and fail for three student using static member function

3073


Whats oop mean?

774


what are the different types of qualifier in java?

2005


What is oops?what is its use in software engineering?

748


what are the ways in which a constructors can be called?

1780


Can we create object of abstract class?

802


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2796


what is the sylabus for priliminaries?

1890


What is overriding in oop?

773


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1687