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
What is token in java?
What is the benefit of lambda expressions?
What is close method? How it's different from Finalize & Dispose?
What is static import in java?
Which collection allows duplicate values in java?
Why can't you declare a class as protected?
What is replaceall in java?
How to optimize the javac output?
Why is a constant variable important?
Can a class have multiple constructors?
how does multithreading take place on a computer with a single cpu? : Java thread
Which container method is used to cause a container to be laid out and redisplayed in java programming?
Does the order of public and static declaration matter in main method?
Which collection does not allow duplicates in java?
Can we have any code between try and finally blocks?