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

can you give real time example for polymarphism

Answer Posted / rama

Shape
draw()

it may consists of:

1.Circle object
Draw(circle)

2.Box object
Draw(box)

3.Triangle object
Draw(triangle)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer in oop?

1061


What is an advantage of polymorphism?

1097


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

2845


How oops is better than procedural?

1102


What is class in oop with example?

1105


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2289


can inline function declare in private part of class?

4417


What is purpose of inheritance?

1113


What is abstraction and encapsulation?

1022


Is data hiding and abstraction same?

1048


What is the real time example of inheritance?

1154


Who invented oop?

1134


What is for loop and its syntax?

1087


Why do we use class in oops?

967


Can destructor be overloaded?

1036