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


Please Help Members By Posting Answers For Below Questions

What is token in java?

766


What is the benefit of lambda expressions?

727


What is close method? How it's different from Finalize & Dispose?

785


What is static import in java?

723


Which collection allows duplicate values in java?

736


Why can't you declare a class as protected?

795


What is replaceall in java?

762


How to optimize the javac output?

796


Why is a constant variable important?

682


Can a class have multiple constructors?

761


how does multithreading take place on a computer with a single cpu? : Java thread

907


Which container method is used to cause a container to be laid out and redisplayed in java programming?

843


Does the order of public and static declaration matter in main method?

835


Which collection does not allow duplicates in java?

704


Can we have any code between try and finally blocks?

766