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 is the oops and benefits of oops programming?

555


Can main method override?

585


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1944


i got a backdoor offer in process global,Bangalore..Can i work with it?

2326


Why is static class not inherited?

599






What is polymorphism what is it for and how is it used?

575


Can you explain polymorphism?

583


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2763


Which language is not a true object oriented programming language?

642


Templates mean

1589


What is the difference between encapsulation and polymorphism?

596


How Do you Code Composition and Aggregation in C++ ?

24199


Can you inherit a private class?

631


What is encapsulation with example?

579


What is abstraction in oops?

589