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

Explain the concept of polymorphism with examples?

Answer Posted / babul mog

Polymorphism: polymorphism means the same interface for multiple purposes,basically it is base class pointer which can access derive class members.
It has two types:
1. compile time polymorphisum: function overloading,function overriding.
2. runtime polymorphism : virtual function.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

1146


Can java program run without jre?

1061


What is the significance of continue jump statement? Explain with an example.

1350


What is method in java with example?

1002


Difference between string, string builder, and string buffer?

1177


When should a function throw an exception?

1100


What does the “final” keyword mean in front of a variable? A method? A class?

1035


What is an enumeration?

1120


What is meant by nested loop?

1090


Difference between start() and run() method of thread class?

1114


Can we override tostring method in java?

1009


Can we use return in constructor?

1000


How long will it take to learn java?

1034


How does arraylist size increase in java?

1169


What is the size of arraylist in java?

1067