Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is abstract class ?
when is used in real time ?
give a exp

Answer Posted / manjunathtek

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...


Ex:

Let us assume... As a father(Base Class), he has some Land
(Member Function), and he has not done any cultivation
(implementation) in it... As his Child(Derived Class), he
takes the Land(Member Function) from the Father(Base) and
does Agriculture(implementing the M.F. of Parent Class) in
the Child...

Concept of Inheritance...

Is it good enough!!!

Is This Answer Correct ?    30 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism explain its types?

1099


what type of question are asked in thoughtworks pair programming round ?

2144


Can static class have constructor?

983


What is a class and object?

1001


write a C++ program for booking using constructor and destructor.

2494


What do you mean by Encapsulation?

1022


Whats oop mean?

988


What is polymorphism and why is it important?

981


What are main features of oop?

1079


What are the 5 oop principles?

1070


class type to basic type conversion

2337


What is basic concept of oop?

1104


What is meant by oops concept?

989


What are different oops concepts?

999


Can we override main method?

1122