What is compile time polymorphism?
Answer Posted / madhuri
Compile Time Polymorphism in Java is when you have the
several methods with same name and different parameters and
compiler has to decide how to select which method has to run
based on the arguments hence the name Compile time
polymorphism or method overloading.
| Is This Answer Correct ? | 24 Yes | 8 No |
Post New Answer View All Answers
How to display names of all components in a Container?
What is the driver class?
Can we create a constructor in abstract class?
What are methods of a class?
Does variable declaration allocate memory?
Can we sort a map in java?
What is an inner class in java?
What are actual parameters?
Differentiate between == and equals().
What is data type in java?
What is locale in java?
What are different types of arrays?
What is a class variable?
Can an unreferenced object be referenced again?
Is hashset sorted in java?