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

Answers were Sorted based on User's Feedback



can you give real time example for polymarphism..

Answer / shwetha

we act differently in different situations

Is This Answer Correct ?    26 Yes 2 No

can you give real time example for polymarphism..

Answer / lavanya

I am daughter for my parents,sister for my sibling, and also
a employee for my employer...am one but acting different in
different scenario....

Is This Answer Correct ?    15 Yes 0 No

can you give real time example for polymarphism..

Answer / ayesha

carbon have different forms
Diamond
graphite

Is This Answer Correct ?    5 Yes 1 No

can you give real time example for polymarphism..

Answer / venki

Appearing different forms of water
once it acts as ice
and other vapour

Is This Answer Correct ?    4 Yes 0 No

can you give real time example for polymarphism..

Answer / 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

More OOPS Interview Questions

Why a "operator=(...)" when there is a copy ctor?

2 Answers  


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

0 Answers   HCL,


What are the advantages of polymorphism?

0 Answers  


What is the real time example of inheritance?

0 Answers  


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

0 Answers   IBM,


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

0 Answers  


diff between Virtual mathod and abstract method?

1 Answers  


What is difference between polymorphism and inheritance?

0 Answers  


What is the point of polymorphism?

0 Answers  


sir plz send me a set of questions that been frequently held in written examination during campus selection.

0 Answers   TCS,


Can abstract class have normal methods?

0 Answers  


What is the main difference between C++ and Java

11 Answers   TCS,


Categories