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

Can an arraylist be empty?

1006


What is the use of default method in interface in java?

964


What are abstract methods in java?

1061


What all methods are used to prevent thread execution ?

963


What is the use of coding?

911


What’s the difference between the methods sleep() and wait()?

951


What are voids?

917


Is null an object in java?

976


Why java does not support pointers?

977


How does thread synchronization occurs inside a monitor?

1039


In java, how many ways you can take input from the console?

930


What are benefits of java?

1004


What is an enumeration?

1003


What is the covariant return type?

1022


What is difference between Heap and Stack Memory?

980