what is abstract class ?
when is used in real time ?
give a exp
Answer Posted / pradeep
An Abstract Class is one in which the member function(s) at
the Base(Parent) Class are left undefined, but declared.
It's upto the Derived(child(ren)) Classes to Implement the
Functions declared in Base...
The most real time example of abstract class and interface
is bulding a house
1)concrete methods are explained with completed house.
2)abstract classes are explained with completed house but a
little bit of work left
3)interfaces are explained with taking a building plan
Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
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
Why is oop useful?
what is the drawback of classical methods in oops?
#include
What are objects in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Give two or more real cenario of virtual function and vertual object
i got a backdoor offer in process global,Bangalore..Can i work with it?
What does enum stand for?
what are the ways in which a constructors can be called?
What is abstract class in oop?
What are different oops concepts?
How Do you Code Composition and Aggregation in C++ ?
What is polymorphism explain its types?
what type of question are asked in thoughtworks pair programming round ?