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

Difference ways of Polymorphism?

Answer Posted / zeeshan

Polymorphism can be achieved by two ways:
1.Overloading 2.Overriding
1.Overloading: Overloading means methods have same name but
different arguments it can be achieved at Compile Time.
1.Overriding: Overloading means when we make method virtual
in base class and we also want that it also used in child
then we use override keyword for that method and and it can
be achieved at Run Time.

Is This Answer Correct ?    21 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism give a real life example?

1079


Why is polymorphism used?

1089


What is cohesion in oop?

1112


What is inheritance write a program to show use of inheritance?

1204


is there any choice in opting subjects like 4 out of 7

2247


What does no cap mean?

1118


What is polymorphism programming?

1181


How is class defined?

1212


What are the benefits of interface?

1118


Which method cannot be overridden?

1173


What is polymorphism used for?

1112


What do you mean by overloading?

1130


Why do we need oop?

1275


How to use CMutex, CSemaphore in VC++ MFC

4835


Can bst contain duplicates?

1245