what is polymorphism with example?types of polymorphism?

Answer Posted / nidhi joon

The ability to take more than one form.
Supports two type
Method Overloading
Method Overriding

Is This Answer Correct ?    58 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is protected access modifier?

568


What is a key in java?

497


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

831


Can we have try without catch block?

637


Difference between ‘>>’ and ‘>>>’ operators in java?

639






Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

501


What flag up means?

595


What is the major advantage of external iteration over internal iteration?

609


What does it mean to flush a file?

564


What is parameter example?

540


How many bits is a 64 bit byte?

534


Is array passed by reference in java?

576


Explain the difference between static and dynamic binding in java?

538


What is meant by memory leak?

535


Explain about interrupt() method of thread class ?

657